Helm: Add option for controlling the serviceAccount's automountServiceAccountToken parameter

This commit is contained in:
Minei3oat 2025-06-19 16:44:45 +02:00
parent a6c538c5a1
commit 0bbf1251d1
2 changed files with 2 additions and 0 deletions

View File

@ -3,4 +3,5 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ .Values.serviceAccount.name | quote }}
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}
{{- end }}

View File

@ -594,6 +594,7 @@ serviceAccount:
## The name of the service account to use. If 'create' is 'true', a service account with that name
## will be created.
name: "minio-sa"
automountServiceAccountToken: true
metrics:
serviceMonitor: