Skip to content

Commit 5e18ca8

Browse files
committed
feat: use dedicated variable for securityContext for initContainers
1 parent 41c5df6 commit 5e18ca8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

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)