postgres-operator/pkg/controller
Oleksii Kliukin 987b43456b
Deprecate old LB options, fix endpoint sync. (#287)
* Depreate old LB options, fix endpoint sync.

- deprecate useLoadBalancer, replicaLoadBalancer from the manifest
  and enable_load_balancer from the operator configuration. The old
  operator configuration options become no-op with this commit. For
  the old manifest options, `useLoadBalancer` and `replicaLoadBalancer`
  are still consulted,  but only in the absense of the new ones
  (enableMasterLoadBalancer and enableReplicaLoadBalancer).

- Make sure the endpoint being created during the sync receives proper
  addresses subset. This is more critical for the replicas, as for the
  masters Patroni will normally re-create the endpoint before the
  operator.

- Avoid creating the replica endpoint, since it will be created automatically
  by the corresponding service.
- Update the README and unit tests.

Code review by @mgomezch and @zerg-junior
2018-05-15 15:19:18 +02:00
..
controller.go Deprecate old LB options, fix endpoint sync. (#287) 2018-05-15 15:19:18 +02:00
node.go Restrict operator to single watched namespace via env var 2018-02-07 16:44:49 +01:00
node_test.go Improve behavior on node decomissionining (#184) 2018-01-04 11:53:15 +01:00
pod.go Restrict operator to single watched namespace via env var 2018-02-07 16:44:49 +01:00
postgresql.go Deprecate old LB options, fix endpoint sync. (#287) 2018-05-15 15:19:18 +02:00
postgresql_test.go Deprecate old LB options, fix endpoint sync. (#287) 2018-05-15 15:19:18 +02:00
status.go Respond to code review 2018-02-20 14:43:02 +01:00
util.go Move service account to Controller 2018-04-24 15:13:08 +02:00
util_test.go Improve infrastructure role definitions (#208) 2018-04-04 17:21:36 +02:00