postgres-operator/manifests
Oleksii Kliukin 00150711e4 Configure load balancer on a per-cluster and operator-wide level (#57)
* Deny all requests to the load balancer by default.
* Operator-wide toggle for the load-balancer.
* Define per-cluster useLoadBalancer option.

If useLoadBalancer is not set - then operator-wide defaults take place. If it
is true - the load balancer is created, otherwise a service type clusterIP is
created.

Internally, we have to completely replace the service if the service type
changes. We cannot patch, since some fields from the old service that will
remain after patch are incompatible with the new one, and handling them
explicitly when updating the service is ugly and error-prone. We cannot
update the service because of the immutable fields, that leaves us the only
option of deleting the old service and creating the new one. Unfortunately,
there is still an issue of unnecessary removal of endpoints associated with
the service, it will be addressed in future commits.

* Revert the unintended effect of go fmt

* Recreate endpoints on service update.

When the service type is changed, the service is deleted and then
the one with the new type is created. Unfortnately, endpoints are
deleted as well. Re-create them afterwards, preserving the original
addresses stored in them.

* Improve error messages and comments. Use generate instead of gen in names.
2017-06-30 13:38:49 +02:00
..
configmap.yaml Configure load balancer on a per-cluster and operator-wide level (#57) 2017-06-30 13:38:49 +02:00
fake-teams-api.yaml remove new line from the token; 2017-05-12 16:38:42 +02:00
infrastructure-roles.yaml Feature/infrastructure roles (#91) 2017-05-12 11:41:33 +02:00
platform-credentials.yaml Pod Rolling update 2017-05-12 11:41:25 +02:00
postgres-operator.yaml set image pull policy to ifnotpresent 2017-05-12 16:38:42 +02:00
serviceaccount.yaml Make example manifests minikube-friendly. 2017-05-12 11:41:28 +02:00
testpostgresql.yaml Configure load balancer on a per-cluster and operator-wide level (#57) 2017-06-30 13:38:49 +02:00