In the Percona Operator for MySQL Based on Percona XtraDB Cluster there is a configuration called loadBalancerSourceRanges
which allows to filter based on origin IP at the load balancer level.
Is there an equivalent way to do it with the Percona Operator for PostgreSQL?
Unfortunately I can’t filter it in the Postgres level because the source IP’s are being SNAT’ed by my load balancer.
I also thought about using Proxy Protocol to reveal the true source IP, which my load balancer supports, but it doesn’t seem that pgBouncer can understand it.
Any other workarounds for source IP filtering in this scenario?
Thanks