argocd-helm/charts/argo-workflows/templates/controller/workflow-controller-sa.yaml
Marco Kilchhofer afe72167fb
fix(argo-workflows): Observe 'controller.serviceAccount.create' (#787)
* fix(argo-workflows): Observe 'controller.serviceAccount.create'

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>

* chore: Ignore ci/ directory in final package

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
2021-06-03 19:10:55 +02:00

10 lines
297 B
YAML

{{- if .Values.controller.serviceAccount.create }}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ template "argo-workflows.controllerServiceAccountName" . }}
{{ with .Values.controller.serviceAccount.annotations }}
annotations:
{{- toYaml .| nindent 4 }}
{{- end }}
{{- end }}