mirror of
https://github.com/minio/minio.git
synced 2025-01-26 06:03:17 -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 }}
|
{{- if .Values.makeBucketJob.extraVolumes }}
|
||||||
{{- toYaml .Values.makeBucketJob.extraVolumes | nindent 8 }}
|
{{- toYaml .Values.makeBucketJob.extraVolumes | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{ if .Values.serviceAccount.create }}
|
||||||
|
serviceAccountName: {{ .Values.serviceAccount.name }}
|
||||||
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: minio-mc
|
- name: minio-mc
|
||||||
image: "{{ .Values.mcImage.repository }}:{{ .Values.mcImage.tag }}"
|
image: "{{ .Values.mcImage.repository }}:{{ .Values.mcImage.tag }}"
|
||||||
|
@ -68,6 +68,9 @@ spec:
|
|||||||
{{- if .Values.makePolicyJob.extraVolumes }}
|
{{- if .Values.makePolicyJob.extraVolumes }}
|
||||||
{{- toYaml .Values.makePolicyJob.extraVolumes | nindent 8 }}
|
{{- toYaml .Values.makePolicyJob.extraVolumes | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{ if .Values.serviceAccount.create }}
|
||||||
|
serviceAccountName: {{ .Values.serviceAccount.name }}
|
||||||
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: minio-mc
|
- name: minio-mc
|
||||||
image: "{{ .Values.mcImage.repository }}:{{ .Values.mcImage.tag }}"
|
image: "{{ .Values.mcImage.repository }}:{{ .Values.mcImage.tag }}"
|
||||||
|
@ -78,6 +78,9 @@ spec:
|
|||||||
{{- if .Values.makeUserJob.extraVolumes }}
|
{{- if .Values.makeUserJob.extraVolumes }}
|
||||||
{{- toYaml .Values.makeUserJob.extraVolumes | nindent 8 }}
|
{{- toYaml .Values.makeUserJob.extraVolumes | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{ if .Values.serviceAccount.create }}
|
||||||
|
serviceAccountName: {{ .Values.serviceAccount.name }}
|
||||||
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: minio-mc
|
- name: minio-mc
|
||||||
image: "{{ .Values.mcImage.repository }}:{{ .Values.mcImage.tag }}"
|
image: "{{ .Values.mcImage.repository }}:{{ .Values.mcImage.tag }}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user