diff --git a/helm/minio/templates/post-job.yaml b/helm/minio/templates/post-job.yaml index 885c4be52..373c1c273 100644 --- a/helm/minio/templates/post-job.yaml +++ b/helm/minio/templates/post-job.yaml @@ -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