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 apiVersion: v1
kind: ServiceAccount kind: ServiceAccount
metadata: metadata:
name: {{ include "minio.serviceAccountName" . | quote }} name: {{ .Values.serviceAccount.name | quote }}
namespace: {{ .Release.Namespace | quote }} namespace: {{ .Release.Namespace | quote }}
{{- end -}} {{- end -}}

View File

@ -324,8 +324,8 @@ podDisruptionBudget:
serviceAccount: serviceAccount:
create: true create: true
## The name of the service account to use. If 'create' is 'true', a service account with that name ## 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. ## will be created.
name: name: "minio-sa"
metrics: metrics:
serviceMonitor: serviceMonitor: