Skip to content

Commit ee19c8f

Browse files
synaretemergify[bot]
authored andcommitted
config: add openshift-4.12 pod-security annotations
OpenShift >= 4.12 requires[1] specific annotation to samba-operator's namespace in order to allow it to create pods which have elevated capabilities. [1] https://github.com/redhat-openshift-ecosystem/community-operators-prod/discussions/1417 Signed-off-by: Shachar Sharon <[email protected]>
1 parent 542c5ab commit ee19c8f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

config/manager/manager.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@ apiVersion: v1
22
kind: Namespace
33
metadata:
44
labels:
5+
app.kubernetes.io/name: samba-operator
6+
security.openshift.io/scc.podSecurityLabelSync: "false"
7+
pod-security.kubernetes.io/enforce: "privileged"
8+
pod-security.kubernetes.io/warn: "privileged"
9+
pod-security.kubernetes.io/audit: "privileged"
10+
openshift.io/cluster-monitoring: "true"
511
control-plane: controller-manager
612
name: system
713
---

0 commit comments

Comments
 (0)