postgres-operator/pkg/cluster
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
..
cluster.go Configure pg_hba in the local postgresql configuration of Patroni. (#361) 2018-08-08 11:01:26 +02:00
cluster_test.go Client go upgrade v6 (#352) 2018-08-01 11:08:01 +02:00
exec.go Allow configuring pod priority globally and per cluster. (#353) 2018-08-03 14:03:37 +02:00
filesystems.go Make use of kubernetes client-go v4 2017-07-25 15:25:17 +02:00
k8sres.go Configure pg_hba in the local postgresql configuration of Patroni. (#361) 2018-08-08 11:01:26 +02:00
k8sres_test.go Deprecate old LB options, fix endpoint sync. (#287) 2018-05-15 15:19:18 +02:00
pg.go Linter-induced code refactoring, run round 2. (#360) 2018-08-06 12:09:19 +02:00
pod.go Linter-induced code refactoring, run round 2. (#360) 2018-08-06 12:09:19 +02:00
resources.go Configure pg_hba in the local postgresql configuration of Patroni. (#361) 2018-08-08 11:01:26 +02:00
sync.go Linter-induced code refactoring, run round 2. (#360) 2018-08-06 12:09:19 +02:00
types.go add comments on roles 2017-09-11 17:44:32 +02:00
util.go Configure pg_hba in the local postgresql configuration of Patroni. (#361) 2018-08-08 11:01:26 +02:00
volumes.go Allow configuring pod priority globally and per cluster. (#353) 2018-08-03 14:03:37 +02:00