fix ServiceAccount creation in helm chart (#13197)

Fixed the variable name on the templated and added name.
This commit is contained in:
Kanagaraj M 2021-09-13 21:42:20 +05:30 committed by GitHub
parent 98479d7ffd
commit 311718309c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -2,6 +2,6 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "minio.serviceAccountName" . | quote }}
name: {{ .Values.serviceAccount.name | quote }}
namespace: {{ .Release.Namespace | quote }}
{{- end -}}

View file

@ -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: