oecis-charts/charts/gate/templates/serviceaccount.yaml
2023-10-08 15:37:34 +02:00

13 lines
314 B
YAML

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