fix(wikijs): fix usage of common lib

This commit is contained in:
2026-01-18 00:55:24 +01:00
parent 168edbea99
commit ae05491471
2 changed files with 9 additions and 14 deletions

View File

@ -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

View File

@ -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" . }}