postgres-operator/pkg/util
Oleksii Kliukin e933908084
Configure pg_hba in the local postgresql configuration of Patroni. (#361)
Previously, the operator put pg_hba into the bootstrap/pg_hba key of
Patroni. That had 2 adverse effects:
 - pg_hba.conf was shadowed by Spilo default section in the local
   postgresql configuration
 - when updating pg_hba in the cluster manifest, the updated lines were
   not propagated to DCS, since the key was defined in the boostrap
   section of Patroni.

Include some minor refactoring, moving methods to unexported when
possible and commenting out usage of md5, so that gosec won't complain.

Per https://github.com/zalando-incubator/postgres-operator/issues/330

Review by @zerg-junior
2018-08-08 11:01:26 +02:00
..
config Populate list of clusters in the controller at startup. (#364) 2018-08-08 11:00:56 +02:00
constants Allow configuring the operator via the YAML manifest. (#326) 2018-07-16 16:20:46 +02:00
filesystems Fix golint warnings 2017-08-01 16:08:56 +02:00
k8sutil Client go upgrade v6 (#352) 2018-08-01 11:08:01 +02:00
patroni Linter-induced code refactoring, run round 2. (#360) 2018-08-06 12:09:19 +02:00
retryutil Improve the condition check. 2018-02-22 10:13:46 +01:00
ringlog fix comments for ringlogger 2017-09-26 13:12:38 +02:00
teams Linter-induced code refactoring, run round 2. (#360) 2018-08-06 12:09:19 +02:00
users Linter-induced code refactoring, run round 2. (#360) 2018-08-06 12:09:19 +02:00
volumes Client go upgrade v6 (#352) 2018-08-01 11:08:01 +02:00
util.go Configure pg_hba in the local postgresql configuration of Patroni. (#361) 2018-08-08 11:01:26 +02:00
util_test.go Perform manual failover during the scale down 2017-10-16 17:41:23 +02:00