about summary refs log tree commit diff
path: root/chart/templates/serviceaccount.yaml
blob: b2f3d87c593f69d7ddaf8a6772ecdd2fa08688e8 (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 "mastodon.serviceAccountName" . }}
  labels:
    {{- include "mastodon.labels" . | nindent 4 }}
  {{- with .Values.serviceAccount.annotations }}
  annotations:
    {{- toYaml . | nindent 4 }}
  {{- end }}
{{- end }}