fix: Add serviceAccountName to celerybeat pods. (#19670)

Co-authored-by: josh.paulin <josh.paulin@wheniwork.com>
This commit is contained in:
Josh Paulin 2022-06-10 16:03:13 -04:00 committed by GitHub
parent c842c9e2d8
commit 1918dc0455
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -22,7 +22,7 @@ maintainers:
- name: craig-rueda
email: craig@craigrueda.com
url: https://github.com/craig-rueda
version: 0.6.2
version: 0.6.3
dependencies:
- name: postgresql
version: 11.1.22

View File

@ -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 }}