feat(argo-cd): Add annotations to the dex service account (#508)

* feat: Add annotations to the dex service account

Signed-off-by: Jacob Wernette <jawernette@ibm.com>
Signed-off-by: Jacob Wernette <werne2j@gmail.com>
This commit is contained in:
Jacob Wernette 2021-02-16 18:21:58 -05:00 committed by GitHub
parent 97e896126c
commit dbb1d80e13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 1 deletions

View file

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

View file

@ -3,6 +3,12 @@ apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ template "argo-cd.dexServiceAccountName" . }}
{{- if .Values.dex.serviceAccount.annotations }}
annotations:
{{- range $key, $value := .Values.dex.serviceAccount.annotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
labels:
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.dex.name }}
helm.sh/chart: {{ include "argo-cd.chart" . }}

View file

@ -217,6 +217,8 @@ dex:
serviceAccount:
create: true
name: argocd-dex-server
## Annotations applied to created service account
annotations: {}
## Additional volumeMounts to the controller main container.
volumeMounts: