aboutsummaryrefslogtreecommitdiff
path: root/script/helm/garage/templates/serviceaccount.yaml
blob: a0a89a33910878e9c0979a193b65247fdbfd7bc0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
{{- if .Values.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
  name: {{ include "garage.serviceAccountName" . }}
  labels:
    {{- include "garage.labels" . | nindent 4 }}
  {{- with .Values.serviceAccount.annotations }}
  annotations:
    {{- toYaml . | nindent 4 }}
  {{- end }}
{{- end }}