Skip to content

Commit f04723b

Browse files
committed
fix(helm): give the operator the same scc as the product
1 parent 02ff8d9 commit f04723b

File tree

1 file changed

+10
-0
lines changed
  • deploy/helm/spark-k8s-operator/templates

1 file changed

+10
-0
lines changed

deploy/helm/spark-k8s-operator/templates/roles.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,3 +151,13 @@ rules:
151151
- patch
152152
- create
153153
- delete
154+
{{ if .Capabilities.APIVersions.Has "security.openshift.io/v1" }}
155+
- apiGroups:
156+
- security.openshift.io
157+
resources:
158+
- securitycontextconstraints
159+
resourceNames:
160+
- nonroot-v2
161+
verbs:
162+
- use
163+
{{ end }}

0 commit comments

Comments
 (0)