This is an automated email from the ASF dual-hosted git repository.

klesh pushed a commit to branch main
in repository 
https://gitbox.apache.org/repos/asf/incubator-devlake-helm-chart.git


The following commit(s) were added to refs/heads/main by this push:
     new 41c5df6  add support for initcontainers for lake deployment (#359)
41c5df6 is described below

commit 41c5df6ad66df7dcc0ba06b995a4121b6c5ae0f9
Author: Ilia Lazebnik <[email protected]>
AuthorDate: Mon Dec 29 09:05:00 2025 -0500

    add support for initcontainers for lake deployment (#359)
    
    Signed-off-by: drfaust92 <[email protected]>
---
 charts/devlake/templates/deployments.yaml | 3 +++
 charts/devlake/values.yaml                | 2 ++
 2 files changed, 5 insertions(+)

diff --git a/charts/devlake/templates/deployments.yaml 
b/charts/devlake/templates/deployments.yaml
index db012d3..e867349 100644
--- a/charts/devlake/templates/deployments.yaml
+++ b/charts/devlake/templates/deployments.yaml
@@ -160,6 +160,9 @@ spec:
       {{- toYaml . | nindent 8 }}
       {{- end }}
       initContainers:
+        {{- if .Values.lake.initContainers }}
+          {{- toYaml .Values.lake.initContainers | nindent 8 }}
+        {{- end }}
         {{- include "common.initContainerWaitDatabase" . | nindent 8 }}
         {{- with .Values.lake.containerSecurityContext }}
           securityContext:
diff --git a/charts/devlake/values.yaml b/charts/devlake/values.yaml
index 9f8a435..5d47e2f 100644
--- a/charts/devlake/values.yaml
+++ b/charts/devlake/values.yaml
@@ -269,6 +269,8 @@ lake:
 
   podAnnotations: {}
 
+  initContainers: []
+
   livenessProbe:
     httpGet:
       path: /ping

Reply via email to