1d51be0e3d
Squashed commit: [9ae7dd0f] add helm-docs to workflow [2206f5ba] fix small typo in workflows (+1 squashed commits) Squashed commits: [29c2ceb4] Documentation-Cleanup (#181) * work on readme generation * document windows setup * add simple pre-commit install script * more docs for git setup * Update pre-commit * pre-commit automatic fixes * Increase all patch versions * Auto Readme and Config doc * Auto app-readme.md generation * increase common and common-test versions accordingly (due to cleanup) * move contribution guidelines to /development in wiki * fix some end-of-line issues (again) * fix line 14 of workflows
12 lines
406 B
Smarty
12 lines
406 B
Smarty
{{/*
|
|
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 }}
|