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>
Signed-off-by: kostas-theo <ktheo@oneconcern.com>
This commit is contained in:
Oliver Bähler 2021-04-21 15:18:55 +02:00 committed by kostas-theo
parent 48012eda2e
commit c95cc2efda
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 2.0.0 appVersion: 2.0.0
description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes. description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
name: argo-cd name: argo-cd
version: 3.1.1 version: 3.1.2
home: https://github.com/argoproj/argo-helm home: https://github.com/argoproj/argo-helm
icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png
keywords: keywords:

View file

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