[bitnami/argo-workflows] fix: 🔒 Move service-account token auto-mount to pod declaration (#22387)

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>
Signed-off-by: Javier J. Salmerón-García <jsalmeron@vmware.com>
This commit is contained in:
Javier J. Salmerón-García
2024-01-19 10:27:07 +01:00
committed by GitHub
parent 593a70df63
commit f7d5b6f2c4
5 changed files with 23 additions and 13 deletions

View File

@@ -44,6 +44,7 @@ spec:
{{- end }}
serviceAccountName: {{ include "argo-workflows.server.serviceAccountName" . }}
{{- include "argo-workflows.imagePullSecrets" . | nindent 6 }}
automountServiceAccountToken: {{ .Values.server.automountServiceAccountToken }}
{{- if .Values.server.hostAliases }}
hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.server.hostAliases "context" $) | nindent 8 }}
{{- end }}