feat(argocd): Allow specifying annotations for serviceaccounts (#371)
* feat(argocd): Allow specifying annotations for serviceaccounts * chore(argocd): update argocd chart to 2.3.7 Co-authored-by: Spencer Gilbert <Spencer.Gilbert@gmail.com>
This commit is contained in:
parent
422752023d
commit
6a26babc28
5 changed files with 22 additions and 1 deletions
|
|
@ -3,6 +3,12 @@ apiVersion: v1
|
|||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: {{ template "argo-cd.controllerServiceAccountName" . }}
|
||||
{{- if .Values.controller.serviceAccount.annotations }}
|
||||
annotations:
|
||||
{{- range $key, $value := .Values.controller.serviceAccount.annotations }}
|
||||
{{ $key }}: {{ $value | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
labels:
|
||||
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.controller.name }}
|
||||
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue