Files
autotex/helm/templates/serviceaccount.yaml
Pavel Kirilin 88c6daceb2 Initial commit.
Signed-off-by: Pavel Kirilin <win10@list.ru>
2024-07-14 23:40:38 +02:00

14 lines
389 B
YAML

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