diff --git a/helm/minio/templates/serviceaccount.yaml b/helm/minio/templates/serviceaccount.yaml index 4380021d9..6a4bd94b3 100644 --- a/helm/minio/templates/serviceaccount.yaml +++ b/helm/minio/templates/serviceaccount.yaml @@ -2,6 +2,6 @@ apiVersion: v1 kind: ServiceAccount metadata: - name: {{ include "minio.serviceAccountName" . | quote }} + name: {{ .Values.serviceAccount.name | quote }} namespace: {{ .Release.Namespace | quote }} {{- end -}} diff --git a/helm/minio/values.yaml b/helm/minio/values.yaml index 1352ec2e1..3bab9920e 100644 --- a/helm/minio/values.yaml +++ b/helm/minio/values.yaml @@ -324,8 +324,8 @@ podDisruptionBudget: serviceAccount: create: true ## The name of the service account to use. If 'create' is 'true', a service account with that name - ## will be created. Otherwise, a name will be auto-generated. - name: + ## will be created. + name: "minio-sa" metrics: serviceMonitor: