Skip to content

Commit e2f0f66

Browse files
committed
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 <[email protected]>
1 parent 0e4e7e3 commit e2f0f66

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

deploy/chart/templates/0000_50_olm_00-namespace.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
annotations:
77
openshift.io/node-selector: ""
88
labels:
9-
openshift.io/run-level: "1"
9+
openshift.io/scc: "anyuid"
1010
openshift.io/cluster-monitoring: "true"
1111
{{ end }}
1212
---
@@ -18,5 +18,5 @@ metadata:
1818
annotations:
1919
openshift.io/node-selector: ""
2020
labels:
21-
openshift.io/run-level: "1"
21+
openshift.io/scc: "anyuid"
2222
{{ end }}

manifests/0000_50_olm_00-namespace.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,17 @@ apiVersion: v1
22
kind: Namespace
33
metadata:
44
name: openshift-operator-lifecycle-manager
5-
65
annotations:
76
openshift.io/node-selector: ""
87
labels:
9-
openshift.io/run-level: "1"
8+
openshift.io/scc: "anyuid"
109
openshift.io/cluster-monitoring: "true"
1110
---
1211
apiVersion: v1
1312
kind: Namespace
1413
metadata:
1514
name: openshift-operators
16-
1715
annotations:
1816
openshift.io/node-selector: ""
1917
labels:
20-
openshift.io/run-level: "1"
18+
openshift.io/scc: "anyuid"

0 commit comments

Comments
 (0)