argocd-helm/charts/argo-rollouts/templates/controller/serviceaccount.yaml
Marco Kilchhofer e2cb20df28
chore(argo-rollouts): Reorganize files in repo (#976)
Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
2021-10-17 13:08:28 +01:00

13 lines
400 B
YAML

{{- if .Values.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "argo-rollouts.serviceAccountName" . }}
labels:
app.kubernetes.io/component: {{ .Values.controller.component }}
{{- include "argo-rollouts.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}