From a85e03ef753199a0219a3314e0cff28fc2613a6a Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 18 Jun 2023 12:47:04 +0200 Subject: Allow configuring hba, listen on all addresses --- personal_infra/puppet/site/pg.h1.int.pdp7.net.pp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'personal_infra/puppet/site') diff --git a/personal_infra/puppet/site/pg.h1.int.pdp7.net.pp b/personal_infra/puppet/site/pg.h1.int.pdp7.net.pp index b964548b..944c5c16 100644 --- a/personal_infra/puppet/site/pg.h1.int.pdp7.net.pp +++ b/personal_infra/puppet/site/pg.h1.int.pdp7.net.pp @@ -1,3 +1,11 @@ node 'pg.h1.int.pdp7.net' { - class {'postgres':} + class {'postgres': + pg_hba_conf => @(EOT) + # TYPE DATABASE USER ADDRESS METHOD + # "local" is for Unix domain socket connections only + local all all peer + host k8s_test k8s_test k8s-test.h1.int.pdp7.net trust + | EOT + , + } } -- cgit v1.2.3