postgres-operator/pkg
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
..
apiserver return idle status when worker has nothing to do 2017-10-11 15:42:20 +02:00
cluster Make sure the statefulset that is deleted manually gets re-created. (#191) 2017-12-21 15:20:43 +01:00
controller Warn on infrastructure-roles.yaml format violations (#177) 2017-12-15 17:21:41 +01:00
spec Fix an issue when not assigning the merge result. 2017-12-04 10:49:25 +01:00
util Introduce higher and lower bounds for the number of instances (#178) 2017-12-15 16:02:50 +01:00