feat: move pg_hba to hieradata

- remove hardcoded pg_hba
- move pg_hba to hieradata
This commit is contained in:
2025-07-05 11:15:59 +10:00
parent a9faa098ee
commit 00edd627df
3 changed files with 18 additions and 10 deletions
-10
View File
@@ -64,16 +64,6 @@ class profiles::sql::patroni (
pgsql_parameters => {
'max_connections' => 5000,
},
bootstrap_pg_hba => [
'local all postgres ident',
'host all all 0.0.0.0/0 md5',
'host replication repl 0.0.0.0/0 md5',
],
pgsql_pg_hba => [
'local all postgres ident',
'host all all 0.0.0.0/0 md5',
'host replication repl 0.0.0.0/0 md5',
],
superuser_username => $superuser_username,
superuser_password => $superuser_password,
replication_username => $replication_username,