Skip to content

Commit

Permalink
Remove run-level 1 from olm and openshift-operators namespaces
Browse files Browse the repository at this point in the history
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 <vdinh@redhat.com>
  • Loading branch information
dinhxuanvu committed Feb 20, 2020
1 parent 0e4e7e3 commit e2f0f66
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions deploy/chart/templates/0000_50_olm_00-namespace.yaml
Expand Up @@ -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 }}
---
Expand All @@ -18,5 +18,5 @@ metadata:
annotations:
openshift.io/node-selector: ""
labels:
openshift.io/run-level: "1"
openshift.io/scc: "anyuid"
{{ end }}
6 changes: 2 additions & 4 deletions manifests/0000_50_olm_00-namespace.yaml
Expand Up @@ -2,19 +2,17 @@ apiVersion: v1
kind: Namespace
metadata:
name: openshift-operator-lifecycle-manager

annotations:
openshift.io/node-selector: ""
labels:
openshift.io/run-level: "1"
openshift.io/scc: "anyuid"
openshift.io/cluster-monitoring: "true"
---
apiVersion: v1
kind: Namespace
metadata:
name: openshift-operators

annotations:
openshift.io/node-selector: ""
labels:
openshift.io/run-level: "1"
openshift.io/scc: "anyuid"

0 comments on commit e2f0f66

Please sign in to comment.