2020-05-25 19:48:35 +00:00
|
|
|
{{- if .Values.controller.serviceAccount.create }}
|
2019-02-13 22:22:11 +00:00
|
|
|
apiVersion: v1
|
|
|
|
kind: ServiceAccount
|
|
|
|
metadata:
|
2019-11-05 00:17:25 +00:00
|
|
|
name: {{ template "argo-cd.controllerServiceAccountName" . }}
|
2020-06-24 13:48:41 +00:00
|
|
|
{{- if .Values.controller.serviceAccount.annotations }}
|
|
|
|
annotations:
|
|
|
|
{{- range $key, $value := .Values.controller.serviceAccount.annotations }}
|
|
|
|
{{ $key }}: {{ $value | quote }}
|
|
|
|
{{- end }}
|
|
|
|
{{- end }}
|
2019-02-13 22:22:11 +00:00
|
|
|
labels:
|
2019-11-05 00:17:25 +00:00
|
|
|
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.controller.name }}
|
2019-02-13 22:22:11 +00:00
|
|
|
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
|
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
|
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
2019-11-05 22:47:56 +00:00
|
|
|
app.kubernetes.io/part-of: argocd
|
2020-05-25 19:48:35 +00:00
|
|
|
app.kubernetes.io/component: {{ .Values.controller.name }}
|
|
|
|
{{- end }}
|