argocd-helm/charts/argo-rollouts/templates/dashboard/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
458 B
YAML

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