Skip to content

Conversation

@ademidoff
Copy link
Member

@ademidoff ademidoff commented Sep 27, 2025

This pull request updates the PostgreSQL host-based authentication (pg_hba) configuration for Patroni to better support common private network ranges used in Kubernetes environments. The main change is a shift from hardcoded network ranges to a more flexible and comprehensive configuration that covers major cloud providers and on-prem setups.

Patroni configuration updates:

  • In charts/pmm-ha/values.yaml, the pg_hba entries under patroni.dynamicConfiguration.postgresql have been updated to allow connections from RFC1918 private networks (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) for both gfuser and pmmuser, improving compatibility with AWS, GCP, Azure, Docker, minikube, and on-prem environments.

  • In charts/pmm-ha/charts/pg-db/values.yaml, the previous hardcoded pg_hba entries for specific subnets have been replaced with an empty list, delegating the configuration to the parent chart and preventing conflicting or redundant settings.

@ademidoff ademidoff merged commit a0ef75e into pmmha-v3 Sep 29, 2025
3 checks passed
@ademidoff ademidoff deleted the PMM-14364-fix-pg-hba-private-subnets branch September 29, 2025 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants