Skip to content

Commit 37561c9

Browse files
fix: add missing allowed category (#164)
1 parent dd58de2 commit 37561c9

File tree

2 files changed

+17
-14
lines changed

2 files changed

+17
-14
lines changed

pkg/validation/internal/operatorhub.go

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ import (
3737
// * "Database"
3838
// * "Integration & Delivery"
3939
// * "Logging & Tracing"
40+
// * "Modernization & Migration"
4041
// * "Monitoring"
4142
// * "Networking"
4243
// * "OpenShift Optional"
@@ -101,20 +102,21 @@ var validMediatypes = map[string]struct{}{
101102
}
102103

103104
var validCategories = map[string]struct{}{
104-
"AI/Machine Learning": {},
105-
"Application Runtime": {},
106-
"Big Data": {},
107-
"Cloud Provider": {},
108-
"Developer Tools": {},
109-
"Database": {},
110-
"Integration & Delivery": {},
111-
"Logging & Tracing": {},
112-
"Monitoring": {},
113-
"Networking": {},
114-
"OpenShift Optional": {},
115-
"Security": {},
116-
"Storage": {},
117-
"Streaming & Messaging": {},
105+
"AI/Machine Learning": {},
106+
"Application Runtime": {},
107+
"Big Data": {},
108+
"Cloud Provider": {},
109+
"Developer Tools": {},
110+
"Database": {},
111+
"Integration & Delivery": {},
112+
"Logging & Tracing": {},
113+
"Monitoring": {},
114+
"Modernization & Migration": {},
115+
"Networking": {},
116+
"OpenShift Optional": {},
117+
"Security": {},
118+
"Storage": {},
119+
"Streaming & Messaging": {},
118120
}
119121

120122
func validateOperatorHub(objs ...interface{}) (results []errors.ManifestResult) {

pkg/validation/internal/removed_apis.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ const minKubeVersionWarnMessage = "csv.Spec.minKubeVersion is not informed. It i
2121

2222
// K8s version where the apis v1betav1 is no longer supported
2323
const k8sVerV1betav1Unsupported = "1.22.0"
24+
2425
// K8s version where the apis v1betav1 was deprecated
2526
const k8sVerV1betav1Deprecated = "1.16.0"
2627

0 commit comments

Comments
 (0)