database init wikijs

This commit is contained in:
Philip Haupt
2025-10-12 16:36:46 +02:00
parent c53bcaeed7
commit 18bb3eaeda
2 changed files with 6 additions and 4 deletions

View File

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

View File

@@ -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: []