postgres-operator/pkg
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
..
apiserver Linter-induced code refactoring, run round 2. (#360) 2018-08-06 12:09:19 +02:00
cluster Configure pg_hba in the local postgresql configuration of Patroni. (#361) 2018-08-08 11:01:26 +02:00
controller Populate list of clusters in the controller at startup. (#364) 2018-08-08 11:00:56 +02:00
spec Configure pg_hba in the local postgresql configuration of Patroni. (#361) 2018-08-08 11:01:26 +02:00
util Configure pg_hba in the local postgresql configuration of Patroni. (#361) 2018-08-08 11:01:26 +02:00