postgres-operator/pkg/controller
Oleksii Kliukin ebe50abccb
Make sure we never modify informer cached manifest. (#290)
987b434 introduced a new function that modifies the cluster spec in
memory before the cluster processes it. Unfortunately, the instance
being modified appeared to be the one stored internally in the
PostgresInformer, resulting in those modifications to be propagated with
futher cluster events and producing update loops in some occasions.

This commit makes sure we copy the spec before putting it into the
clusterEventQueues.
2018-05-16 18:23:31 +02:00
..
controller.go Deprecate old LB options, fix endpoint sync. (#287) 2018-05-15 15:19:18 +02:00
node.go Restrict operator to single watched namespace via env var 2018-02-07 16:44:49 +01:00
node_test.go Improve behavior on node decomissionining (#184) 2018-01-04 11:53:15 +01:00
pod.go Restrict operator to single watched namespace via env var 2018-02-07 16:44:49 +01:00
postgresql.go Make sure we never modify informer cached manifest. (#290) 2018-05-16 18:23:31 +02:00
postgresql_test.go Make sure we never modify informer cached manifest. (#290) 2018-05-16 18:23:31 +02:00
status.go Respond to code review 2018-02-20 14:43:02 +01:00
util.go Move service account to Controller 2018-04-24 15:13:08 +02:00
util_test.go Improve infrastructure role definitions (#208) 2018-04-04 17:21:36 +02:00