We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0970763 commit 6121ebaCopy full SHA for 6121eba
1 file changed
deploy/helm/opensearch-operator/templates/roles.yaml
@@ -158,6 +158,7 @@ rules:
158
verbs:
159
- create
160
- patch
161
+{{ if .Capabilities.APIVersions.Has "security.openshift.io/v1" }}
162
# Required on OpenShift: allows OpenSearch pods to run with the nonroot-v2
163
# SecurityContextConstraint, which permits running as a non-root UID without a specific
164
# seccomp profile.
@@ -169,3 +170,4 @@ rules:
169
170
- nonroot-v2
171
172
- use
173
+{{ end }}
0 commit comments