helm-chart: Use minio service account for post-deploy job if available (#17077)

This commit is contained in:
Anton Lindholm 2023-05-07 09:12:56 +03:00 committed by GitHub
parent c5c1426262
commit 5b364bca1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,6 +80,9 @@ spec:
- key: {{ .Values.tls.publicCrt }}
path: CAs/public.crt
{{- end }}
{{- if .Values.serviceAccount.create }}
serviceAccountName: {{ .Values.serviceAccount.name }}
{{- end }}
containers:
{{- if .Values.buckets }}
- name: minio-make-bucket