feat(argo-cd): add the ability to specify automountServiceAccountToken for argo-cd (#626)

Signed-off-by: Joshua Stern <joshua.stern@appian.com>
This commit is contained in:
Joshua Stern 2021-03-18 18:04:52 -04:00 committed by GitHub
parent 650abd1eb1
commit 04b5c32d80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 17 additions and 1 deletions

View file

@ -1,6 +1,7 @@
{{- if .Values.controller.serviceAccount.create }}
apiVersion: v1
kind: ServiceAccount
automountServiceAccountToken: {{ .Values.controller.serviceAccount.automountServiceAccountToken }}
metadata:
name: {{ template "argo-cd.controllerServiceAccountName" . }}
{{- if .Values.controller.serviceAccount.annotations }}