Skip to content

Commit 41c5df6

Browse files
authored
add support for initcontainers for lake deployment (#359)
Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
1 parent 1baa3b2 commit 41c5df6

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

charts/devlake/templates/deployments.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,9 @@ spec:
160160
{{- toYaml . | nindent 8 }}
161161
{{- end }}
162162
initContainers:
163+
{{- if .Values.lake.initContainers }}
164+
{{- toYaml .Values.lake.initContainers | nindent 8 }}
165+
{{- end }}
163166
{{- include "common.initContainerWaitDatabase" . | nindent 8 }}
164167
{{- with .Values.lake.containerSecurityContext }}
165168
securityContext:

charts/devlake/values.yaml

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

270270
podAnnotations: {}
271271

272+
initContainers: []
273+
272274
livenessProbe:
273275
httpGet:
274276
path: /ping

0 commit comments

Comments
 (0)