From 539e944920679548f17862b9f4ad9b5cb54ef233 Mon Sep 17 00:00:00 2001 From: mcoops Date: Wed, 7 Jul 2021 11:34:23 +1000 Subject: [PATCH] Fix run-level label to empty string. 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 --- install/0000_00_cluster-version-operator_00_namespace.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/0000_00_cluster-version-operator_00_namespace.yaml b/install/0000_00_cluster-version-operator_00_namespace.yaml index 793585841c..ed8465bccf 100644 --- a/install/0000_00_cluster-version-operator_00_namespace.yaml +++ b/install/0000_00_cluster-version-operator_00_namespace.yaml @@ -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