diff --git a/helm/superset/Chart.yaml b/helm/superset/Chart.yaml index 3120db4fd4..43ae9d9437 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 fe0ce20d85..11d4a77591 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 8e807daf15..3ac7551b76 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 }}