From daf38c4d1f0751530a3375e9e7ac5840e2235f76 Mon Sep 17 00:00:00 2001 From: Vu Dinh Date: Thu, 20 Feb 2020 16:58:24 -0500 Subject: [PATCH] Remove run-level 1 from olm and openshift-operators namespaces OLM and the operators that it deploys shouldn't have run-level 1 and should use SCC as "anyuid" or "restricted". Signed-off-by: Vu Dinh --- deploy/chart/templates/0000_50_olm_00-namespace.yaml | 4 ++-- manifests/0000_50_olm_00-namespace.yaml | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/deploy/chart/templates/0000_50_olm_00-namespace.yaml b/deploy/chart/templates/0000_50_olm_00-namespace.yaml index ffc1485849..17f36da667 100644 --- a/deploy/chart/templates/0000_50_olm_00-namespace.yaml +++ b/deploy/chart/templates/0000_50_olm_00-namespace.yaml @@ -6,7 +6,7 @@ metadata: annotations: openshift.io/node-selector: "" labels: - openshift.io/run-level: "1" + openshift.io/scc: "anyuid" openshift.io/cluster-monitoring: "true" {{ end }} --- @@ -18,5 +18,5 @@ metadata: annotations: openshift.io/node-selector: "" labels: - openshift.io/run-level: "1" + openshift.io/scc: "anyuid" {{ end }} diff --git a/manifests/0000_50_olm_00-namespace.yaml b/manifests/0000_50_olm_00-namespace.yaml index 932a75cc27..68ab7c027e 100644 --- a/manifests/0000_50_olm_00-namespace.yaml +++ b/manifests/0000_50_olm_00-namespace.yaml @@ -5,7 +5,7 @@ metadata: annotations: openshift.io/node-selector: "" labels: - openshift.io/run-level: "1" + openshift.io/scc: "anyuid" openshift.io/cluster-monitoring: "true" --- @@ -16,5 +16,4 @@ metadata: annotations: openshift.io/node-selector: "" labels: - openshift.io/run-level: "1" - + openshift.io/scc: "anyuid"