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:
parent
97e896126c
commit
dbb1d80e13
3 changed files with 9 additions and 1 deletions
|
@ -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:
|
||||
|
|
|
@ -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" . }}
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue