Skip to content

Commit 95b4a54

Browse files
jshum2479rjeberhard
authored andcommitted
change how we handle securityContext.seccompProfile.RuntimeDefault
1 parent bddb75a commit 95b4a54

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

kubernetes/charts/weblogic-operator/templates/_operator-dep.tpl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,9 @@ spec:
3535
{{- end }}
3636
spec:
3737
serviceAccountName: {{ .serviceAccount | quote }}
38-
{{- if (ne ( .kubernetesPlatform | default "Generic" ) "OpenShift") }}
3938
securityContext:
4039
seccompProfile:
4140
type: RuntimeDefault
42-
{{- end }}
4341
{{- with .nodeSelector }}
4442
nodeSelector:
4543
{{- toYaml . | nindent 8 }}
@@ -318,11 +316,9 @@ spec:
318316
{{- end }}
319317
spec:
320318
serviceAccountName: {{ .serviceAccount | quote }}
321-
{{- if (ne ( .kubernetesPlatform | default "Generic" ) "OpenShift") }}
322319
securityContext:
323320
seccompProfile:
324321
type: RuntimeDefault
325-
{{- end }}
326322
{{- with .nodeSelector }}
327323
nodeSelector:
328324
{{- toYaml . | nindent 12 }}

0 commit comments

Comments
 (0)