postgres-operator/pkg/cluster
Oleksii Kliukin da0de8cff7
Make sure the statefulset that is deleted manually gets re-created. (#191)
* Make sure the statefulset that is deleted manually gets re-created.

Per report and analysis by Manuel Gomez.

* Move the existence checks for other objects out of the Create functions.

create{Object} for services, endpoints and PDBs refused to continue if
there is a cached definition in the cluster, however, the only place
where it makes sense is when creating a new cluster. Note that contrary
to the statefulset this doesn't fix any issues, since those definitions
were nullified correspondingly when the sync code detected there is no
object present in the Kubernetes cluster.
2017-12-21 15:20:43 +01:00
..
cluster.go Make sure the statefulset that is deleted manually gets re-created. (#191) 2017-12-21 15:20:43 +01:00
cluster_test.go Fixes for the case of re-creating the cluster after deletion. 2017-12-13 16:49:00 +01: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 Merge pull request #180 from zalando-incubator/container-name 2017-12-15 16:13:33 +01:00
pg.go Fixes for the case of re-creating the cluster after deletion. 2017-12-13 16:49:00 +01:00
pod.go Tweak our reaction to the cluster upgrade process. 2017-11-30 14:11:49 +01:00
resources.go Make sure the statefulset that is deleted manually gets re-created. (#191) 2017-12-21 15:20:43 +01:00
sync.go Make sure the statefulset that is deleted manually gets re-created. (#191) 2017-12-21 15:20:43 +01:00
types.go add comments on roles 2017-09-11 17:44:32 +02:00
util.go Avoid overwriting critical users. (#172) 2017-12-05 14:27:12 +01:00
volumes.go use sync methods while updating the cluster 2017-11-03 12:00:43 +01:00