postgres-operator/pkg/controller
Oleksii Kliukin da4cc2705b Use deepcopy to propagate the spec to clusters.
Avoid sharing pointers to the same spec data between the informer
and the clusters. The only catch is that the error field is cleared
during deepcopy, since it is an interface that may contain private
fields that cannot be copied, however, the error is only used when
the manifest is parsed and before it is queued, therefore, we never
refer to that field in the cluster structure.
2018-05-17 16:05:12 +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 Use deepcopy to propagate the spec to clusters. 2018-05-17 16:05:12 +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