diff --git a/helm/minio/templates/post-job.yaml b/helm/minio/templates/post-job.yaml index 9c6da20fd..86fe6f84d 100644 --- a/helm/minio/templates/post-job.yaml +++ b/helm/minio/templates/post-job.yaml @@ -57,7 +57,7 @@ spec: name: {{ template "minio.fullname" . }} - secret: name: {{ template "minio.secretName" . }} - {{- range .Values.users }} + {{- range (concat .Values.users (default (list) .Values.svcaccts)) }} {{- if .existingSecret }} - secret: name: {{ tpl .existingSecret $ }}