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 16007c0  feat: use dedicated variable for securityContext for 
initContainers (#360)
16007c0 is described below

commit 16007c05d0b14ac9b3064a9c2d257cfe8999fb2f
Author: Roberto Dedoro <[email protected]>
AuthorDate: Mon Jan 12 16:08:43 2026 +0100

    feat: use dedicated variable for securityContext for initContainers (#360)
---
 charts/devlake/templates/deployments.yaml | 2 +-
 charts/devlake/values.yaml                | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/charts/devlake/templates/deployments.yaml 
b/charts/devlake/templates/deployments.yaml
index e867349..6702169 100644
--- a/charts/devlake/templates/deployments.yaml
+++ b/charts/devlake/templates/deployments.yaml
@@ -164,7 +164,7 @@ spec:
           {{- toYaml .Values.lake.initContainers | nindent 8 }}
         {{- end }}
         {{- include "common.initContainerWaitDatabase" . | nindent 8 }}
-        {{- with .Values.lake.containerSecurityContext }}
+        {{- with .Values.lake.initContainerSecurityContext }}
           securityContext:
           {{- toYaml . | nindent 12 }}
         {{- end }}
diff --git a/charts/devlake/values.yaml b/charts/devlake/values.yaml
index 5d47e2f..3958ec1 100644
--- a/charts/devlake/values.yaml
+++ b/charts/devlake/values.yaml
@@ -267,6 +267,8 @@ lake:
 
   containerSecurityContext: {}
 
+  initContainerSecurityContext: {}
+
   podAnnotations: {}
 
   initContainers: []

Reply via email to