Skip to content

Commit 16007c0

Browse files
authored
feat: use dedicated variable for securityContext for initContainers (#360)
1 parent 41c5df6 commit 16007c0

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

charts/devlake/templates/deployments.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ spec:
164164
{{- toYaml .Values.lake.initContainers | nindent 8 }}
165165
{{- end }}
166166
{{- include "common.initContainerWaitDatabase" . | nindent 8 }}
167-
{{- with .Values.lake.containerSecurityContext }}
167+
{{- with .Values.lake.initContainerSecurityContext }}
168168
securityContext:
169169
{{- toYaml . | nindent 12 }}
170170
{{- end }}

charts/devlake/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,8 @@ lake:
267267

268268
containerSecurityContext: {}
269269

270+
initContainerSecurityContext: {}
271+
270272
podAnnotations: {}
271273

272274
initContainers: []

0 commit comments

Comments
 (0)