From f4622f791d2f2afafeebe220af0cfe16dbb7eba9 Mon Sep 17 00:00:00 2001 From: William P Date: Sun, 22 Feb 2026 12:21:39 -0500 Subject: [PATCH] use unique replica name --- postgres/config/clusters/main.yaml | 4 ++-- postgres/config/streaming-replica_auth.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/postgres/config/clusters/main.yaml b/postgres/config/clusters/main.yaml index 6fff4ae..5639ade 100644 --- a/postgres/config/clusters/main.yaml +++ b/postgres/config/clusters/main.yaml @@ -67,7 +67,7 @@ spec: superuser: true passwordSecret: name: pgbouncer-auth-query - - name: streaming_replica + - name: weyma-pgsql02_replica ensure: present comment: weyma-pgsql02 replica login: true @@ -84,4 +84,4 @@ spec: postgresql: pg_hba: - - host replication streaming_replica 10.105.6.199/32 scram-sha-256 \ No newline at end of file + - host replication weyma-pgsql02_replica 10.105.6.199/32 scram-sha-256 \ No newline at end of file diff --git a/postgres/config/streaming-replica_auth.yaml b/postgres/config/streaming-replica_auth.yaml index 2fee6fd..1a2d670 100644 --- a/postgres/config/streaming-replica_auth.yaml +++ b/postgres/config/streaming-replica_auth.yaml @@ -18,7 +18,7 @@ spec: target: template: data: - username: streaming_replica + username: weyma-pgsql02_replica password: "{{ .password }}" creationPolicy: Owner deletionPolicy: Retain