From 18bb3eaeda24d60524eeebe40e7d0f9a00783999 Mon Sep 17 00:00:00 2001 From: Philip Haupt <“der.mad.mob@gmail.com”> Date: Sun, 12 Oct 2025 16:36:46 +0200 Subject: [PATCH] database init wikijs --- wikijs/main.yaml | 4 +++- wikijs/src/values-cnpg.yaml | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/wikijs/main.yaml b/wikijs/main.yaml index b8fdefb..c3d77db 100644 --- a/wikijs/main.yaml +++ b/wikijs/main.yaml @@ -334,7 +334,9 @@ spec: affinity: topologyKey: kubernetes.io/hostname bootstrap: - initdb: null + initdb: + database: wiki + owner: wikijs enablePDB: true enableSuperuserAccess: true imageName: ghcr.io/cloudnative-pg/postgresql:17 diff --git a/wikijs/src/values-cnpg.yaml b/wikijs/src/values-cnpg.yaml index 6896aac..c4f1a10 100644 --- a/wikijs/src/values-cnpg.yaml +++ b/wikijs/src/values-cnpg.yaml @@ -348,9 +348,9 @@ cluster: # -- BootstrapInitDB is the configuration of the bootstrap process when initdb is used. # See: https://cloudnative-pg.io/documentation/current/bootstrap/ # See: https://cloudnative-pg.io/documentation/current/cloudnative-pg.v1/#postgresql-cnpg-io-v1-bootstrapinitdb - initdb: {} - # database: app - # owner: "" # Defaults to the database name + initdb: + database: wiki + owner: wikijs # Defaults to the database name # secret: # name: "" # Name of the secret containing the initial credentials for the owner of the user database. If empty a new secret will be created from scratch # options: []