fix(argo-cd): Disable Dex ServiceAccount (#648)

* fix: oliverbaehler as codeowner

Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com>

* Disable ServiceAccount on disabled Dex

Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com>
This commit is contained in:
Oliver Bähler 2021-04-21 15:18:55 +02:00 committed by GitHub
parent 50caa3d289
commit 5955a3bef8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{{- if .Values.dex.serviceAccount.create }}
{{- if and .Values.dex.enabled .Values.dex.serviceAccount.create }}
apiVersion: v1
kind: ServiceAccount
automountServiceAccountToken: {{ .Values.dex.serviceAccount.automountServiceAccountToken }}