postgres: proper replication config
This commit is contained in:
@@ -21,6 +21,12 @@ spec:
|
|||||||
metrics_enabled: "true"
|
metrics_enabled: "true"
|
||||||
|
|
||||||
externalClusters:
|
externalClusters:
|
||||||
|
- name: weyma-pgsql
|
||||||
|
plugin:
|
||||||
|
name: barman-cloud.cloudnative-pg.io
|
||||||
|
parameters:
|
||||||
|
barmanObjectName: truenas-s3
|
||||||
|
serverName: weyma-pgsql
|
||||||
- name: weyma-bs-pgsql
|
- name: weyma-bs-pgsql
|
||||||
plugin:
|
plugin:
|
||||||
name: barman-cloud.cloudnative-pg.io
|
name: barman-cloud.cloudnative-pg.io
|
||||||
@@ -28,6 +34,10 @@ spec:
|
|||||||
barmanObjectName: truenas-s3
|
barmanObjectName: truenas-s3
|
||||||
serverName: weyma-bs-pgsql
|
serverName: weyma-bs-pgsql
|
||||||
|
|
||||||
|
replica:
|
||||||
|
primary: weyma-pgsql
|
||||||
|
source: weyma-bs-pgsql
|
||||||
|
|
||||||
managed:
|
managed:
|
||||||
services:
|
services:
|
||||||
additional:
|
additional:
|
||||||
|
|||||||
Reference in New Issue
Block a user