2025-09-23 20:42:20 +08:00
|
|
|
{{/*{{- if .Values.serviceAccount.create -}}*/}}
|
|
|
|
|
{{/*apiVersion: v1*/}}
|
|
|
|
|
{{/*kind: ServiceAccount*/}}
|
|
|
|
|
{{/*metadata:*/}}
|
|
|
|
|
{{/* name: {{ include "toutoukan-chart.serviceAccountName" . }}*/}}
|
|
|
|
|
{{/* labels:*/}}
|
|
|
|
|
{{/* {{- include "toutoukan-chart.labels" . | nindent 4 }}*/}}
|
|
|
|
|
{{/* {{- with .Values.serviceAccount.annotations }}*/}}
|
|
|
|
|
{{/* annotations:*/}}
|
|
|
|
|
{{/* {{- toYaml . | nindent 4 }}*/}}
|
|
|
|
|
{{/* {{- end }}*/}}
|
|
|
|
|
{{/*automountServiceAccountToken: {{ .Values.serviceAccount.automount }}*/}}
|
|
|
|
|
{{/*{{- end }}*/}}
|