All checks were successful
Build image / build (push) Successful in 5m18s
- 实现Helm Chart的自动打包功能 - 支持将打包后的Chart推送到OCI仓库 - 自动清理生成的Chart包文件"
14 lines
397 B
YAML
14 lines
397 B
YAML
{{- if .Values.serviceAccount.create -}}
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: {{ include "ht-frontend.serviceAccountName" . }}
|
|
labels:
|
|
{{- include "ht-frontend.labels" . | nindent 4 }}
|
|
{{- with .Values.serviceAccount.annotations }}
|
|
annotations:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
automountServiceAccountToken: {{ .Values.serviceAccount.automount }}
|
|
{{- end }}
|