fix(wikijs): fix usage of common lib

This commit is contained in:
2026-01-18 00:55:24 +01:00
parent 168edbea99
commit 533c8a6b32

View File

@ -1,3 +1,5 @@
{{ include "bjw-s.common.loader.init" . }}
{{/* Append the hardcoded settings */}} {{/* Append the hardcoded settings */}}
{{- define "wikijs.harcodedValues" -}} {{- define "wikijs.harcodedValues" -}}
persistence: persistence:
@ -72,11 +74,7 @@ controllers:
{{- end -}} {{- end -}}
{{- $tmplVars := deepCopy . -}} {{- $_ := mergeOverwrite .Values (include "wikijs.hardcodedValues" . | fromYaml) -}}
{{ include "bjw-s.common.loader.init" $tmplVars }}
{{- $defaultValues := include "wikijs.harcodedValues" $tmplVars | fromYaml -}}
{{- $_ := mustMerge .Values $defaultValues -}}
{{/* Render the templates */}} {{/* Render the templates */}}
{{ include "bjw-s.common.loader.init" . }}
{{ include "bjw-s.common.loader.generate" . }} {{ include "bjw-s.common.loader.generate" . }}