mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 14:35:27 +00:00
puppet: Add VPC subnets to pg_hba.conf
(imported from commit 633bf08bfe2f3695bd6c9ed8584b78971ebe065f)
This commit is contained in:
@@ -98,7 +98,23 @@ host all all ::1/128 md5
|
|||||||
#host replication postgres 127.0.0.1/32 md5
|
#host replication postgres 127.0.0.1/32 md5
|
||||||
#host replication postgres ::1/128 md5
|
#host replication postgres ::1/128 md5
|
||||||
|
|
||||||
hostssl zulip zulip 10.252.136.89/32 cert # staging
|
# App frontends
|
||||||
|
hostssl zulip zulip 10.0.8.0/24 cert # us-west-2b
|
||||||
|
hostssl zulip zulip 10.0.108.0/24 cert # us-west-2a
|
||||||
|
hostssl zulip zulip 10.0.208.0/24 cert # us-west-2c
|
||||||
|
|
||||||
|
# Test servers with DB access
|
||||||
|
hostssl zulip zulip 10.0.28.0/24 cert # us-west-2b
|
||||||
|
hostssl zulip zulip 10.0.128.0/24 cert # us-west-2a
|
||||||
|
hostssl zulip zulip 10.0.228.0/24 cert # us-west-2c
|
||||||
|
|
||||||
|
# Databases
|
||||||
|
# TODO: use certs
|
||||||
|
hostssl replication replicator 10.0.16.0/24 md5 # us-west-2b
|
||||||
|
hostssl replication replicator 10.0.116.0/24 md5 # us-west-2a
|
||||||
|
hostssl replication replicator 10.0.216.0/24 md5 # us-west-2c
|
||||||
|
|
||||||
|
# non-VPC entries
|
||||||
hostssl zulip zulip 10.254.4.7/32 cert # prod0
|
hostssl zulip zulip 10.254.4.7/32 cert # prod0
|
||||||
hostssl zulip zulip 10.226.168.170/32 cert # test1
|
hostssl zulip zulip 10.226.168.170/32 cert # test1
|
||||||
hostssl zulip zulip 54.201.95.104/32 cert # staging public IP
|
hostssl zulip zulip 54.201.95.104/32 cert # staging public IP
|
||||||
|
|||||||
Reference in New Issue
Block a user