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
|
|
@ -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" . }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue