mirror of
https://github.com/minio/minio.git
synced 2024-12-24 22:25:54 -05:00
helm: specify service account for the jobs (#15706)
This commit is contained in:
parent
ff12080ff5
commit
c7dcbfd6c1
@ -68,6 +68,9 @@ spec:
|
||||
{{- if .Values.makeBucketJob.extraVolumes }}
|
||||
{{- toYaml .Values.makeBucketJob.extraVolumes | nindent 8 }}
|
||||
{{- end }}
|
||||
{{ if .Values.serviceAccount.create }}
|
||||
serviceAccountName: {{ .Values.serviceAccount.name }}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: minio-mc
|
||||
image: "{{ .Values.mcImage.repository }}:{{ .Values.mcImage.tag }}"
|
||||
|
@ -68,6 +68,9 @@ spec:
|
||||
{{- if .Values.makePolicyJob.extraVolumes }}
|
||||
{{- toYaml .Values.makePolicyJob.extraVolumes | nindent 8 }}
|
||||
{{- end }}
|
||||
{{ if .Values.serviceAccount.create }}
|
||||
serviceAccountName: {{ .Values.serviceAccount.name }}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: minio-mc
|
||||
image: "{{ .Values.mcImage.repository }}:{{ .Values.mcImage.tag }}"
|
||||
|
@ -78,6 +78,9 @@ spec:
|
||||
{{- if .Values.makeUserJob.extraVolumes }}
|
||||
{{- toYaml .Values.makeUserJob.extraVolumes | nindent 8 }}
|
||||
{{- end }}
|
||||
{{ if .Values.serviceAccount.create }}
|
||||
serviceAccountName: {{ .Values.serviceAccount.name }}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: minio-mc
|
||||
image: "{{ .Values.mcImage.repository }}:{{ .Values.mcImage.tag }}"
|
||||
|
Loading…
Reference in New Issue
Block a user