You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by kl...@apache.org on 2026/04/18 03:01:11 UTC
(incubator-devlake-helm-chart) branch main updated: feat: add optional custom serviceAccount name for lake, ui and grafana deployments (#368)
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 37978b2 feat: add optional custom serviceAccount name for lake, ui and grafana deployments (#368)
37978b2 is described below
commit 37978b263047c11d0b1ff541015b0401611327ca
Author: Henrique Fernandes <he...@turbi.com.br>
AuthorDate: Sat Apr 18 00:01:05 2026 -0300
feat: add optional custom serviceAccount name for lake, ui and grafana deployments (#368)
---
charts/devlake/templates/deployments.yaml | 6 ++++++
charts/devlake/values.yaml | 10 ++++++++++
2 files changed, 16 insertions(+)
diff --git a/charts/devlake/templates/deployments.yaml b/charts/devlake/templates/deployments.yaml
index 6702169..a81c8c5 100644
--- a/charts/devlake/templates/deployments.yaml
+++ b/charts/devlake/templates/deployments.yaml
@@ -51,6 +51,9 @@ spec:
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
+ {{- with .Values.ui.serviceAccount.name }}
+ serviceAccountName: {{ . }}
+ {{- end }}
{{- with .Values.ui.securityContext }}
securityContext:
{{- toYaml . | nindent 8 }}
@@ -155,6 +158,9 @@ spec:
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
+ {{- with .Values.lake.serviceAccount.name }}
+ serviceAccountName: {{ . }}
+ {{- end }}
{{- with .Values.lake.securityContext }}
securityContext:
{{- toYaml . | nindent 8 }}
diff --git a/charts/devlake/values.yaml b/charts/devlake/values.yaml
index f8a091c..6c05c52 100644
--- a/charts/devlake/values.yaml
+++ b/charts/devlake/values.yaml
@@ -265,6 +265,11 @@ lake:
# subPath: test_file.yaml
volumeMounts: []
+ # Name of an existing ServiceAccount to use for the lake pod.
+ # If empty, the pod uses the namespace default ServiceAccount.
+ serviceAccount:
+ name: ""
+
ui:
replicaCount: 1
revisionHistoryLimit: 10
@@ -343,6 +348,11 @@ ui:
## Side Contaainer Configuration
extraContainers: []
+
+ # Name of an existing ServiceAccount to use for the config-ui pod.
+ # If empty, the pod uses the namespace default ServiceAccount.
+ serviceAccount:
+ name: ""
# - name: vault-agent
# image: vault:1.6.2
# args: