Skip to content

Commit 5e9f95f

Browse files
authored
Restrict deploying DVO to clusters that are 4.11.10+ (app-sre#190)
1 parent b8f89c1 commit 5e9f95f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

hack/olm-registry/olm-artifacts-template.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ objects:
4444
- key: hive.openshift.io/version-major-minor
4545
operator: NotIn
4646
values: ["4.1", "4.2", "4.3", "4.4", "4.5", "4.6", "4.7", "4.8", "4.9", "4.10"]
47-
- key: api.openshift.com/environment
48-
operator: In
49-
values: ["staging", "integration", "production"]
47+
- key: hive.openshift.io/version-major-minor-patch
48+
operator: NotIn
49+
values: ["4.11.0", "4.11.1", "4.11.2", "4.11.3", "4.11.4", "4.11.5", "4.11.6", "4.11.7", "4.11.8", "4.11.9"]
5050
- key: api.openshift.com/legal-entity-id
5151
operator: In
5252
values: ${{TARGET_ORG}}
@@ -148,7 +148,7 @@ objects:
148148
checks:
149149
# if doNotAutoAddDefaults is true, default checks are not automatically added.
150150
doNotAutoAddDefaults: false
151-
151+
152152
# addAllBuiltIn, if set, adds all built-in checks. This allows users to
153153
# explicitly opt-out of checks that are not relevant using Exclude.
154154
# Takes precedence over doNotAutoAddDefaults, if both are set.

0 commit comments

Comments
 (0)