k8s: allow configuring serviceAccountName (#4790)

This commit is contained in:
Alexandre Viau
2023-08-28 12:06:06 -04:00
committed by GitHub
parent ac1b144526
commit db5d23defe
5 changed files with 28 additions and 0 deletions

View File

@@ -36,6 +36,9 @@ spec:
priorityClassName: {{ .Values.s3.priorityClassName | quote }}
{{- end }}
enableServiceLinks: false
{{- if .Values.s3.serviceAccountName }}
serviceAccountName: {{ .Values.s3.serviceAccountName | quote }}
{{- end }}
{{- if .Values.s3.initContainers }}
initContainers:
{{ tpl .Values.s3.initContainers . | nindent 8 | trim }}