diff --git a/helm/superset/Chart.yaml b/helm/superset/Chart.yaml index 3120db4fd4a4d..43ae9d9437eb7 100644 --- a/helm/superset/Chart.yaml +++ b/helm/superset/Chart.yaml @@ -22,7 +22,7 @@ maintainers: - name: craig-rueda email: craig@craigrueda.com url: https://github.com/craig-rueda -version: 0.1.6 +version: 0.2.0 dependencies: - name: postgresql version: 10.2.0 diff --git a/helm/superset/templates/deployment-worker.yaml b/helm/superset/templates/deployment-worker.yaml index fe0ce20d8580f..11d4a775915a6 100644 --- a/helm/superset/templates/deployment-worker.yaml +++ b/helm/superset/templates/deployment-worker.yaml @@ -53,6 +53,9 @@ spec: app: {{ template "superset.name" . }}-worker release: {{ .Release.Name }} spec: + {{- if .Values.serviceAccountName }} + serviceAccountName: {{ .Values.serviceAccountName }} + {{- end }} securityContext: runAsUser: {{ .Values.runAsUser }} {{- if .Values.supersetWorker.initContainers }} diff --git a/helm/superset/templates/deployment.yaml b/helm/superset/templates/deployment.yaml index 8e807daf15e82..3ac7551b765f7 100644 --- a/helm/superset/templates/deployment.yaml +++ b/helm/superset/templates/deployment.yaml @@ -56,6 +56,9 @@ spec: app: {{ template "superset.name" . }} release: {{ .Release.Name }} spec: + {{- if .Values.serviceAccountName }} + serviceAccountName: {{ .Values.serviceAccountName }} + {{- end }} securityContext: runAsUser: {{ .Values.runAsUser }} {{- if .Values.supersetNode.initContainers }}