fix(argo-cd): make automountServiceAccountToken configurable (#2625)

This commit is contained in:
Stefan Caraiman 2024-04-10 23:05:47 +03:00 committed by GitHub
parent af50be59ed
commit f42e0e1fd5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 39 additions and 3 deletions

View file

@ -55,6 +55,7 @@ spec:
terminationGracePeriodSeconds: {{ .Values.controller.terminationGracePeriodSeconds }}
{{- end }}
serviceAccountName: {{ include "argo-cd.controller.serviceAccountName" . }}
automountServiceAccountToken: {{ .Values.controller.automountServiceAccountToken }}
containers:
- args:
- /usr/local/bin/argocd-application-controller

View file

@ -56,6 +56,7 @@ spec:
terminationGracePeriodSeconds: {{ .Values.controller.terminationGracePeriodSeconds }}
{{- end }}
serviceAccountName: {{ include "argo-cd.controller.serviceAccountName" . }}
automountServiceAccountToken: {{ .Values.controller.automountServiceAccountToken }}
containers:
- args:
- /usr/local/bin/argocd-application-controller