From 1bd5f4bef1b30d0286ee6e841caa298e83d41f6b Mon Sep 17 00:00:00 2001 From: izazahamed-babji <66776201+izazahamed-babji@users.noreply.github.com> Date: Mon, 13 Jul 2020 18:40:59 +0900 Subject: [PATCH] PGHBA conf updated to allow pods running with ipv6 to support replication. (#227) --- .../10/debian-10/rootfs/opt/bitnami/scripts/libpostgresql.sh | 1 + .../11/debian-10/rootfs/opt/bitnami/scripts/libpostgresql.sh | 1 + .../12/debian-10/rootfs/opt/bitnami/scripts/libpostgresql.sh | 1 + .../9.6/debian-10/rootfs/opt/bitnami/scripts/libpostgresql.sh | 1 + 4 files changed, 4 insertions(+) diff --git a/bitnami/postgresql/10/debian-10/rootfs/opt/bitnami/scripts/libpostgresql.sh b/bitnami/postgresql/10/debian-10/rootfs/opt/bitnami/scripts/libpostgresql.sh index 678f83695706..da7579fb3642 100644 --- a/bitnami/postgresql/10/debian-10/rootfs/opt/bitnami/scripts/libpostgresql.sh +++ b/bitnami/postgresql/10/debian-10/rootfs/opt/bitnami/scripts/libpostgresql.sh @@ -315,6 +315,7 @@ postgresql_add_replication_to_pghba() { fi cat << EOF >> "$POSTGRESQL_PGHBA_FILE" host replication all 0.0.0.0/0 ${replication_auth} +host replication all ::/0 ${replication_auth} EOF } diff --git a/bitnami/postgresql/11/debian-10/rootfs/opt/bitnami/scripts/libpostgresql.sh b/bitnami/postgresql/11/debian-10/rootfs/opt/bitnami/scripts/libpostgresql.sh index 678f83695706..da7579fb3642 100644 --- a/bitnami/postgresql/11/debian-10/rootfs/opt/bitnami/scripts/libpostgresql.sh +++ b/bitnami/postgresql/11/debian-10/rootfs/opt/bitnami/scripts/libpostgresql.sh @@ -315,6 +315,7 @@ postgresql_add_replication_to_pghba() { fi cat << EOF >> "$POSTGRESQL_PGHBA_FILE" host replication all 0.0.0.0/0 ${replication_auth} +host replication all ::/0 ${replication_auth} EOF } diff --git a/bitnami/postgresql/12/debian-10/rootfs/opt/bitnami/scripts/libpostgresql.sh b/bitnami/postgresql/12/debian-10/rootfs/opt/bitnami/scripts/libpostgresql.sh index 678f83695706..da7579fb3642 100644 --- a/bitnami/postgresql/12/debian-10/rootfs/opt/bitnami/scripts/libpostgresql.sh +++ b/bitnami/postgresql/12/debian-10/rootfs/opt/bitnami/scripts/libpostgresql.sh @@ -315,6 +315,7 @@ postgresql_add_replication_to_pghba() { fi cat << EOF >> "$POSTGRESQL_PGHBA_FILE" host replication all 0.0.0.0/0 ${replication_auth} +host replication all ::/0 ${replication_auth} EOF } diff --git a/bitnami/postgresql/9.6/debian-10/rootfs/opt/bitnami/scripts/libpostgresql.sh b/bitnami/postgresql/9.6/debian-10/rootfs/opt/bitnami/scripts/libpostgresql.sh index 678f83695706..da7579fb3642 100644 --- a/bitnami/postgresql/9.6/debian-10/rootfs/opt/bitnami/scripts/libpostgresql.sh +++ b/bitnami/postgresql/9.6/debian-10/rootfs/opt/bitnami/scripts/libpostgresql.sh @@ -315,6 +315,7 @@ postgresql_add_replication_to_pghba() { fi cat << EOF >> "$POSTGRESQL_PGHBA_FILE" host replication all 0.0.0.0/0 ${replication_auth} +host replication all ::/0 ${replication_auth} EOF }