feat(wikijs): scaffold app with ceph-rbd persistence

- Fix helmrelease sourceRef name (requarks -> wikijs)
- Add kustomization.yaml with configMapGenerator for values
- Populate values.yaml: traefik ingress, ClusterIP service, PostgreSQL on ceph-rbd
- Register wikijs in apps/kustomization.yaml
This commit is contained in:
Jethro Cotton 2026-03-14 18:07:46 +13:00
parent e69d2bc8b1
commit 8f71cad8c6
6 changed files with 71 additions and 1 deletions

View file

@ -7,4 +7,5 @@ resources:
- forgejo
- monitoring
- homepage
- kimai
- kimai
- wikijs

View file

@ -0,0 +1,20 @@
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
***REMOVED***
name: wikijs
namespace: wikijs
spec:
interval: 30m
chart:
spec:
chart: wikijs
sourceRef:
kind: HelmRepository
name: wikijs
namespace: flux-system
valuesFrom:
- kind: ConfigMap
name: wikijs-values
valuesKey: values.yaml

View file

@ -0,0 +1,8 @@
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
***REMOVED***
name: wikijs
namespace: flux-system
spec:
interval: 12h
url: https://robjuz.github.io/helm-charts/

View file

@ -0,0 +1,14 @@
resources:
- namespace.yaml
- helmrepository.yaml
- helmrelease.yaml
namespace: wikijs
configMapGenerator:
- name: wikijs-values
files:
- values.yaml
generatorOptions:
disableNameSuffixHash: true

View file

@ -0,0 +1,4 @@
***REMOVED***
kind: Namespace
***REMOVED***
name: wikijs

23
apps/wikijs/values.yaml Normal file
View file

@ -0,0 +1,23 @@
ingress:
enabled: true
className: traefik
hosts:
- host: wiki.local
paths:
- path: /
pathType: Prefix
service:
type: ClusterIP
postgresql:
enabled: true
auth:
database: wikijs
username: wikijs
password: wikijs
primary:
persistence:
enabled: true
size: 4Gi
storageClass: ceph-rbd