fix database

This commit is contained in:
Philip Haupt
2025-10-12 23:50:01 +02:00
parent bb31cdcf6d
commit 1aa0e00c08
2 changed files with 6 additions and 6 deletions

View File

@@ -63,7 +63,7 @@ metadata:
helm.sh/chart: matrix-synapse-3.12.7
name: synapse-matrix-synapse
stringData:
config.yaml: "## Registration ##\n\nregistration_shared_secret: \"i389rail8i1eCjyW1YMt4bOA\"\n\n##
config.yaml: "## Registration ##\n\nregistration_shared_secret: \"8vqSOqEybW0NaKUj3hV1Ghs9\"\n\n##
API Configuration ##\n\n## Database configuration ##\n\ndatabase:\n name: \"psycopg2\"\n
\ args:\n user: \"synapse\"\n password: \"@@POSTGRES_PASSWORD@@\"\n database:
\"synapse\"\n host: \"synapse-postgresql\"\n port: 5432\n sslmode: \"prefer\"\n
@@ -209,7 +209,7 @@ spec:
metadata:
annotations:
checksum/config: 9c61c9bf443470644e1b27aa0b359e5985870a59151799de3b979ced6d1da6a3
checksum/secrets: 88fa588126c3c78b4ef94684a58b048041c586c11582814e417519ec665c7091
checksum/secrets: 61f2de7f57f7e600cdf1b31c1256b4f0c628dca5c6b9d35411aac779d3469f0b
labels:
app.kubernetes.io/component: synapse
app.kubernetes.io/instance: synapse
@@ -527,8 +527,8 @@ spec:
topologyKey: kubernetes.io/hostname
bootstrap:
initdb:
database: nextcloud
owner: nextcloud
database: synapse
owner: synapse
enablePDB: true
enableSuperuserAccess: true
imageName: ghcr.io/cloudnative-pg/postgresql:17

View File

@@ -349,8 +349,8 @@ cluster:
# 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: nextcloud
owner: nextcloud # Defaults to the database name
database: synapse
owner: synapse # 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: []