Files
helm-pixelfed/charts/pixelfed/templates/serviceaccount.yaml
T
2024-12-29 18:49:18 +01:00

14 lines
391 B
YAML

{{- if .Values.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "pixelfed.serviceAccountName" . }}
labels:
{{- include "pixelfed.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
automountServiceAccountToken: {{ .Values.serviceAccount.automount }}
{{- end }}