database init wikijs
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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: []
|
||||
|
||||
Reference in New Issue
Block a user