File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
kubernetes/charts/weblogic-operator/templates Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 34
34
{ {- end } }
35
35
spec:
36
36
serviceAccountName: { { .serviceAccount | quote } }
37
+ { {- if (ne ( .kubernetesPlatform | default " Generic" ) " OpenShift" ) } }
37
38
securityContext:
38
39
seccompProfile:
39
40
type: RuntimeDefault
41
+ { {- end } }
40
42
{ {- with .nodeSelector } }
41
43
nodeSelector:
42
44
{ {- toYaml . | nindent 8 } }
@@ -262,9 +264,11 @@ spec:
262
264
{ {- end } }
263
265
spec:
264
266
serviceAccountName: { { .serviceAccount | quote } }
267
+ { {- if (ne ( .kubernetesPlatform | default " Generic" ) " OpenShift" ) } }
265
268
securityContext:
266
269
seccompProfile:
267
270
type: RuntimeDefault
271
+ { {- end } }
268
272
{ {- with .nodeSelector } }
269
273
nodeSelector:
270
274
{ {- toYaml . | nindent 12 } }
You can’t perform that action at this time.
0 commit comments