All checks were successful
Build image / build (push) Successful in 51s
- 新增build-chart.sh脚本用于自动化打包和推送Helm Chart - 支持自动获取最新生成的包名 - 支持推送至OCI仓库 - 自动清理生成的包文件
14 lines
385 B
YAML
14 lines
385 B
YAML
{{- if .Values.serviceAccount.create -}}
|
|
apiVersion: v1
|
|
kind: ServiceAccount
|
|
metadata:
|
|
name: {{ include "chart.serviceAccountName" . }}
|
|
labels:
|
|
{{- include "chart.labels" . | nindent 4 }}
|
|
{{- with .Values.serviceAccount.annotations }}
|
|
annotations:
|
|
{{- toYaml . | nindent 4 }}
|
|
{{- end }}
|
|
automountServiceAccountToken: {{ .Values.serviceAccount.automount }}
|
|
{{- end }}
|