helm-charts/authentik-application/templates/ldap/serviceaccount.yaml

13 lines
435 B
YAML
Raw Normal View History

{{- if and (eq .Values.blueprint.provider.type "ldap") .Values.ldap.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "authentik-application.serviceAccountName" (dict "root" . "part" "ldap" ) }}
labels:
{{- include "authentik-application.labels" . | nindent 4 }}
{{- with .Values.ldap.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}