Skip to content

Commit db9a0b1

Browse files
committed
Fixed
1 parent 5e585e3 commit db9a0b1

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

charts/sn-platform-slim/templates/toolset/toolset-statefulset.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@ spec:
110110
resources:
111111
{{ toYaml .Values.toolset.resources | indent 10 }}
112112
{{- end }}
113+
{{- if .Values.toolset.containerSecurityContext }}
114+
securityContext: {{- toYaml .Values.toolset.containerSecurityContext | nindent 10 }}
115+
{{- end }}
113116
command: ["sh", "-c"]
114117
args:
115118
- >

charts/sn-platform/templates/toolset/toolset-statefulset.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@ spec:
110110
resources:
111111
{{ toYaml .Values.toolset.resources | indent 10 }}
112112
{{- end }}
113+
{{- if .Values.toolset.containerSecurityContext }}
114+
securityContext: {{- toYaml .Values.toolset.containerSecurityContext | nindent 10 }}
115+
{{- end }}
113116
command: ["sh", "-c"]
114117
args:
115118
- >

0 commit comments

Comments
 (0)