Added repoServer service account annotations

This commit is contained in:
Antoine Dubois 2019-11-19 09:01:16 +01:00
parent 1c2421726f
commit 051de23d15
2 changed files with 8 additions and 0 deletions

View file

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

View file

@ -485,6 +485,8 @@ repoServer:
serviceAccount:
create: false
# name: argocd-repo-server
## Annotations applied to created service account
annotations: {}
## Repo server rbac rules
# rbac: