Added template library helm chart

This commit is contained in:
2023-08-20 18:51:00 +02:00
parent 01da298c21
commit e79fa3fe02
18 changed files with 511 additions and 0 deletions
@@ -0,0 +1,14 @@
{{- define "template.serviceAccount" -}}
{{- if .Values.serviceAccount.create -}}
apiVersion: v1
kind: ServiceAccount
metadata:
name: {{ include "template.serviceAccountName" . }}
labels:
{{- include "template.labels" . | nindent 4 }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}
{{- end }}