replica pg-17
This commit is contained in:
@@ -139,7 +139,7 @@ postgres-16-cluster:
|
|||||||
endpointCredentials: jellyplist-postgresql-16-cluster-backup-secret
|
endpointCredentials: jellyplist-postgresql-16-cluster-backup-secret
|
||||||
backupIndex: 1
|
backupIndex: 1
|
||||||
postgres-17-cluster:
|
postgres-17-cluster:
|
||||||
mode: standalone
|
mode: replica
|
||||||
cluster:
|
cluster:
|
||||||
image:
|
image:
|
||||||
repository: ghcr.io/cloudnative-pg/postgresql
|
repository: ghcr.io/cloudnative-pg/postgresql
|
||||||
@@ -150,11 +150,21 @@ postgres-17-cluster:
|
|||||||
storageClass: local-path
|
storageClass: local-path
|
||||||
monitoring:
|
monitoring:
|
||||||
enabled: true
|
enabled: true
|
||||||
initdb:
|
replica:
|
||||||
postInitSQL:
|
importType: monolith
|
||||||
- CREATE DATABASE "jellyplist" OWNER "app";
|
importDatabases:
|
||||||
|
- app
|
||||||
|
- jellyplist
|
||||||
|
externalCluster:
|
||||||
|
connectionParameters:
|
||||||
|
host: jellyplist-postgresql-16-cluster-rw
|
||||||
|
user: app
|
||||||
|
dbname: jellyplist
|
||||||
|
password:
|
||||||
|
name: jellyplist-postgresql-16-cluster-app
|
||||||
|
key: password
|
||||||
backup:
|
backup:
|
||||||
enabled: true
|
enabled: false
|
||||||
endpointURL: https://nyc3.digitaloceanspaces.com
|
endpointURL: https://nyc3.digitaloceanspaces.com
|
||||||
destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/jellyplist/jellyplist-postgresql-17-cluster
|
destinationPath: s3://postgres-backups-ce540ddf106d186bbddca68a/cl01tl/jellyplist/jellyplist-postgresql-17-cluster
|
||||||
endpointCredentials: jellyplist-postgresql-17-cluster-backup-secret
|
endpointCredentials: jellyplist-postgresql-17-cluster-backup-secret
|
||||||
|
Reference in New Issue
Block a user