mirror-secustor-helm-charts/charts/immich/templates/serviceaccount.yaml
2025-01-17 22:49:13 +01:00

13 lines
393 B
YAML

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