From 31a677b44405effe6af99344615e38a254c0d343 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 1 Sep 2023 15:42:26 -0400 Subject: [PATCH] Fix Patroni ACL to use subnet mask --- roles/pvc/templates/patroni/patroni.yml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/pvc/templates/patroni/patroni.yml.j2 b/roles/pvc/templates/patroni/patroni.yml.j2 index af412ec..1a13f7d 100644 --- a/roles/pvc/templates/patroni/patroni.yml.j2 +++ b/roles/pvc/templates/patroni/patroni.yml.j2 @@ -31,7 +31,7 @@ bootstrap: - local all all peer - host replication replicator 127.0.0.1/32 trust {% for node in pvc_nodes if node.is_coordinator %} - - host replication replicator {{ node.cluster_ip }} trust + - host replication replicator {{ node.cluster_ip }}/32 trust {% endfor %} - host all all 0.0.0.0/0 md5