This is an automated email from the ASF dual-hosted git repository.
tai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new 1918dc0455 fix: Add serviceAccountName to celerybeat pods. (#19670)
1918dc0455 is described below
commit 1918dc04559fcc6df369f3bf09d165561a29176e
Author: Josh Paulin <[email protected]>
AuthorDate: Fri Jun 10 16:03:13 2022 -0400
fix: Add serviceAccountName to celerybeat pods. (#19670)
Co-authored-by: josh.paulin <[email protected]>
---
helm/superset/Chart.yaml | 2 +-
helm/superset/templates/deployment-beat.yaml | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/helm/superset/Chart.yaml b/helm/superset/Chart.yaml
index 70dd6fd162..16c59869df 100644
--- a/helm/superset/Chart.yaml
+++ b/helm/superset/Chart.yaml
@@ -22,7 +22,7 @@ maintainers:
- name: craig-rueda
email: [email protected]
url: https://github.com/craig-rueda
-version: 0.6.2
+version: 0.6.3
dependencies:
- name: postgresql
version: 11.1.22
diff --git a/helm/superset/templates/deployment-beat.yaml
b/helm/superset/templates/deployment-beat.yaml
index d46d47ee3f..5587dcf343 100644
--- a/helm/superset/templates/deployment-beat.yaml
+++ b/helm/superset/templates/deployment-beat.yaml
@@ -59,6 +59,9 @@ spec:
{{ toYaml .Values.supersetCeleryBeat.podLabels | nindent 8 }}
{{- end }}
spec:
+ {{- if or (.Values.serviceAccount.create) (.Values.serviceAccountName) }}
+ serviceAccountName: {{ template "superset.serviceAccountName" . }}
+ {{- end }}
securityContext:
runAsUser: {{ .Values.runAsUser }}
{{- if .Values.supersetCeleryBeat.initContainers }}