mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-11 20:08:37 +00:00
16 lines
445 B
YAML
16 lines
445 B
YAML
{{- if .Values.enabled -}}
|
|
{{- if .Values.serviceAccount.create -}}
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: {{ include "gcloud-sql-proxy.serviceAccountName" . }}
|
|
labels:
|
|
{{- include "gcloud-sql-proxy.labels" . | nindent 4 }}
|
|
{{- with .Values.serviceAccount.annotations }}
|
|
annotations:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
automountServiceAccountToken: {{ .Values.serviceAccount.automount }}
|
|
{{- end }}
|
|
{{- end }}
|