infra4talos/apps-helm/drupal/templates/serviceaccount.yaml

13 lines
318 B
YAML
Raw Permalink Normal View History

2023-12-07 15:28:12 +00:00
{{- if .Values.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "drupal.serviceAccountName" . }}
labels:
{{- include "drupal.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}