postgres: proper replication config

This commit is contained in:
2026-03-17 14:09:20 -04:00
parent 39aa23e3f4
commit 0b8f3f8e50

View File

@@ -21,6 +21,12 @@ spec:
metrics_enabled: "true"
externalClusters:
- name: weyma-pgsql
plugin:
name: barman-cloud.cloudnative-pg.io
parameters:
barmanObjectName: truenas-s3
serverName: weyma-pgsql
- name: weyma-bs-pgsql
plugin:
name: barman-cloud.cloudnative-pg.io
@@ -28,6 +34,10 @@ spec:
barmanObjectName: truenas-s3
serverName: weyma-bs-pgsql
replica:
primary: weyma-pgsql
source: weyma-bs-pgsql
managed:
services:
additional: