Files
DataMate/deployment/helm/datamate/charts/gateway/templates/serviceaccount.yaml
hefanli e5b28c26b1 add gateway (#187)
* feature: add gateway
2025-12-22 15:41:17 +08:00

14 lines
389 B
YAML

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