mirror of
https://github.com/apache/superset.git
synced 2024-09-12 08:39:45 -04:00
Add possibility to specify Service Account name for the Deployment in the Helm chart (#15340)
Co-authored-by: Maksym V <maksym.v@pm.bet>
This commit is contained in:
parent
f3f018423a
commit
22d23fcfb9
@ -22,7 +22,7 @@ maintainers:
|
|||||||
- name: craig-rueda
|
- name: craig-rueda
|
||||||
email: craig@craigrueda.com
|
email: craig@craigrueda.com
|
||||||
url: https://github.com/craig-rueda
|
url: https://github.com/craig-rueda
|
||||||
version: 0.1.6
|
version: 0.2.0
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: postgresql
|
- name: postgresql
|
||||||
version: 10.2.0
|
version: 10.2.0
|
||||||
|
@ -53,6 +53,9 @@ spec:
|
|||||||
app: {{ template "superset.name" . }}-worker
|
app: {{ template "superset.name" . }}-worker
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
spec:
|
spec:
|
||||||
|
{{- if .Values.serviceAccountName }}
|
||||||
|
serviceAccountName: {{ .Values.serviceAccountName }}
|
||||||
|
{{- end }}
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsUser: {{ .Values.runAsUser }}
|
runAsUser: {{ .Values.runAsUser }}
|
||||||
{{- if .Values.supersetWorker.initContainers }}
|
{{- if .Values.supersetWorker.initContainers }}
|
||||||
|
@ -56,6 +56,9 @@ spec:
|
|||||||
app: {{ template "superset.name" . }}
|
app: {{ template "superset.name" . }}
|
||||||
release: {{ .Release.Name }}
|
release: {{ .Release.Name }}
|
||||||
spec:
|
spec:
|
||||||
|
{{- if .Values.serviceAccountName }}
|
||||||
|
serviceAccountName: {{ .Values.serviceAccountName }}
|
||||||
|
{{- end }}
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsUser: {{ .Values.runAsUser }}
|
runAsUser: {{ .Values.runAsUser }}
|
||||||
{{- if .Values.supersetNode.initContainers }}
|
{{- if .Values.supersetNode.initContainers }}
|
||||||
|
Loading…
Reference in New Issue
Block a user