[common] Add common chart from KaH

This commit is contained in:
2022-08-22 16:34:31 +01:00
parent 3c7c7ed7a1
commit 0565593931
54 changed files with 2748 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
{{/* Merge the local chart values and the common chart defaults */}}
{{- define "common.values.setup" -}}
{{- if .Values.common -}}
{{- $defaultValues := deepCopy .Values.common -}}
{{- $userValues := deepCopy (omit .Values "common") -}}
{{- $mergedValues := mustMergeOverwrite $defaultValues $userValues -}}
{{- $_ := set . "Values" (deepCopy $mergedValues) -}}
{{- end -}}
{{- end -}}