Skip to content

Commit

Permalink
Fix run-level label to empty string.
Browse files Browse the repository at this point in the history
Given the original commit for this was in 2018, it might be possible to
remove the label now entirely. However, when doing an upgrade it won't
not be applied, hence any clusters which are upgraded still get the
run-level. This effectively unsets it, so works for installs and
upgrades.

Signed-off-by: coops <cooper.d.mark@gmail.com>
  • Loading branch information
mcoops committed Nov 26, 2021
1 parent bc972aa commit 539e944
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install/0000_00_cluster-version-operator_00_namespace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
workload.openshift.io/allowed: "management"
labels:
name: openshift-cluster-version
openshift.io/run-level: "1"
openshift.io/run-level: "" # specify no run-level turns it off on install and upgrades
openshift.io/cluster-monitoring: "true"
pod-security.kubernetes.io/enforce: privileged
pod-security.kubernetes.io/audit: privileged
Expand Down

0 comments on commit 539e944

Please sign in to comment.