switch to pg-17

This commit is contained in:
2024-12-22 18:27:54 -06:00
parent bf7f5e8240
commit 929075af8e

View File

@@ -91,11 +91,11 @@ matrix-synapse:
postgresql: postgresql:
enabled: false enabled: false
externalPostgresql: externalPostgresql:
host: matrix-synapse-postgresql-16-cluster-rw host: matrix-synapse-postgresql-17-cluster-rw
port: 5432 port: 5432
username: app username: app
database: app database: app
existingSecret: matrix-synapse-postgresql-16-cluster-app existingSecret: matrix-synapse-postgresql-17-cluster-app
existingSecretPasswordKey: password existingSecretPasswordKey: password
redis: redis:
enabled: false enabled: false
@@ -338,7 +338,7 @@ postgres-16-cluster:
endpointCredentials: matrix-synapse-postgresql-16-cluster-backup-secret endpointCredentials: matrix-synapse-postgresql-16-cluster-backup-secret
backupIndex: 1 backupIndex: 1
postgres-17-cluster: postgres-17-cluster:
mode: replica mode: standalone
cluster: cluster:
image: image:
repository: ghcr.io/cloudnative-pg/postgresql repository: ghcr.io/cloudnative-pg/postgresql
@@ -349,20 +349,8 @@ postgres-17-cluster:
storageClass: local-path storageClass: local-path
monitoring: monitoring:
enabled: true enabled: true
replica:
importType: microservice
importDatabases:
- app
externalCluster:
connectionParameters:
host: matrix-synapse-postgresql-16-cluster-rw
user: app
dbname: app
password:
name: matrix-synapse-postgresql-16-cluster-app
key: password
backup: backup:
enabled: false enabled: true
endpointURL: https://nyc3.digitaloceanspaces.com endpointURL: https://nyc3.digitaloceanspaces.com
destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/matrix-synapse/matrix-synapse-postgresql-17-cluster destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/matrix-synapse/matrix-synapse-postgresql-17-cluster
endpointCredentials: matrix-synapse-postgresql-17-cluster-backup-secret endpointCredentials: matrix-synapse-postgresql-17-cluster-backup-secret