Files
papi-py/papi-helm/templates/serviceaccount.yaml
stephen schuresko b987d89182 try1
2025-02-16 16:12:58 -05:00

14 lines
383 B
YAML

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