diff --git a/charts/wikijs/Chart.yaml b/charts/wikijs/Chart.yaml index 1c26e97..1320764 100644 --- a/charts/wikijs/Chart.yaml +++ b/charts/wikijs/Chart.yaml @@ -1,17 +1,15 @@ +--- apiVersion: v2 name: wikijs description: A modern, lightweight and powerful wiki app built on NodeJS. home: https://github.com/plcnk/charts/tree/master/charts/wikijs icon: https://raw.githubusercontent.com/plcnk/charts/master/charts/wikijs/icon.svg type: application -version: 0.9.11 +version: 0.9.12 # renovate datasource=docker depName=ghcr.io/requarks/wiki -appVersion: "2.5.307" -kubeVersion: ">=1.22.0-0" -keywords: - - wikijs - - wiki - - documentation +appVersion: 2.5.307 +kubeVersion: '>=1.22.0-0' +keywords: [wikijs, wiki, documentation] dependencies: - name: common repository: https://bjw-s-labs.github.io/helm-charts @@ -20,8 +18,7 @@ dependencies: repository: https://charts.bitnami.com/bitnami version: 16.7.21 condition: postgresql.enabled -sources: - - https://github.com/Requarks/wiki +sources: [https://github.com/Requarks/wiki] annotations: artifacthub.io/changes: |- - kind: changed diff --git a/charts/wikijs/templates/common.yaml b/charts/wikijs/templates/common.yaml index 9a13270..b8d48c9 100644 --- a/charts/wikijs/templates/common.yaml +++ b/charts/wikijs/templates/common.yaml @@ -1,3 +1,5 @@ +{{ include "bjw-s.common.loader.init" . }} + {{/* Append the hardcoded settings */}} {{- define "wikijs.harcodedValues" -}} persistence: @@ -72,11 +74,7 @@ controllers: {{- end -}} -{{- $tmplVars := deepCopy . -}} -{{ include "bjw-s.common.loader.init" $tmplVars }} -{{- $defaultValues := include "wikijs.harcodedValues" $tmplVars | fromYaml -}} -{{- $_ := mustMerge .Values $defaultValues -}} +{{- $_ := mergeOverwrite .Values (include "wikijs.hardcodedValues" . | fromYaml) -}} {{/* Render the templates */}} -{{ include "bjw-s.common.loader.init" . }} {{ include "bjw-s.common.loader.generate" . }}