postgres-operator/pkg
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
..
apiserver Merge pull request #240 from zalando-incubator/feature/goreport-improvements 2018-02-22 11:31:08 +01:00
cluster Deprecate old LB options, fix endpoint sync. (#287) 2018-05-15 15:19:18 +02:00
controller Deprecate old LB options, fix endpoint sync. (#287) 2018-05-15 15:19:18 +02:00
spec Remove the check for the clone cluster name. (#270) 2018-05-03 10:21:37 +02:00
util Deprecate old LB options, fix endpoint sync. (#287) 2018-05-15 15:19:18 +02:00