postgres-operator/pkg/cluster
Oleksii Kliukin 48a5744314
Use Patroni API to set bootstrap-only options. (#299)
Call Patroni API /config in order to set special options that are
ignored when set in the configuration file, such as max_connections.
Per https://github.com/zalando-incubator/postgres-operator/issues/297

* Some minor refacoring:

Rename Cluster ManualFailover to Swithover
Rename Patroni Failover to Switchover
Add more details to error messages and comments introduced in this PR.

Review by @zerg-junior
2018-05-29 12:35:25 +02:00
..
cluster.go Use Patroni API to set bootstrap-only options. (#299) 2018-05-29 12:35:25 +02:00
cluster_test.go Improve the pod moving behavior during the Kubernetes cluster upgrade. (#281) 2018-05-03 10:20:24 +02:00
exec.go return idle status when worker has nothing to do 2017-10-11 15:42:20 +02:00
filesystems.go Make use of kubernetes client-go v4 2017-07-25 15:25:17 +02:00
k8sres.go Address code review by @zerg-junior 2018-05-23 11:36:38 +02:00
k8sres_test.go Deprecate old LB options, fix endpoint sync. (#287) 2018-05-15 15:19:18 +02:00
pg.go Some improvements for golint, ineffassign and misspell 2018-02-19 17:46:31 +01:00
pod.go Use Patroni API to set bootstrap-only options. (#299) 2018-05-29 12:35:25 +02:00
resources.go Use Patroni API to set bootstrap-only options. (#299) 2018-05-29 12:35:25 +02:00
sync.go Use Patroni API to set bootstrap-only options. (#299) 2018-05-29 12:35:25 +02:00
types.go add comments on roles 2017-09-11 17:44:32 +02:00
util.go Minor import fix 2018-05-15 16:53:12 +02:00
volumes.go Be lenient when asked to shrink a persisten volume. 2018-05-24 11:17:42 +02:00