add helm chart files

This commit is contained in:
aleksandr.vodyanov
2024-08-19 13:21:47 +03:00
parent 81b64731fc
commit 9dee441084
10 changed files with 419 additions and 0 deletions

View File

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