Add Helm Chart Deploy

This commit is contained in:
wenyang0 2024-11-20 13:18:30 +08:00
parent 0b1b98f93e
commit 594e801fdf
12 changed files with 435 additions and 0 deletions

View file

@ -0,0 +1,13 @@
{{- if .Values.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "it-tools.serviceAccountName" . }}
labels:
{{- include "it-tools.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
automountServiceAccountToken: {{ .Values.serviceAccount.automount }}
{{- end }}