postgres-operator/pkg/controller
Dmitry Dolgov 647a4d3023
Remove service accounts cache (#685)
For optimization purposes operator was creating a cache map to remember
if service accounts and role binding was deployed to a namespace. This
could lead to a problem, when a namespace was deleted, since this
cache was not synchronized. For the sake of correctness remove the
cache, and check every time if required service account and rbac is
present. In the normal case this introduces an overhead of two API calls
per an event (one to get a service accounts, one to get a role binding),
which should not be a problem, unless proven otherwise.
2019-10-11 11:06:14 +02:00
..
controller.go Remove service accounts cache (#685) 2019-10-11 11:06:14 +02:00
logs_and_api.go reflect change in github url (#496) 2019-02-25 11:26:55 +01:00
node.go Set statefulset update and management policy explicitly (#515) 2019-03-13 11:49:18 +01:00
node_test.go reflect change in github url (#496) 2019-02-25 11:26:55 +01:00
operator_config.go align config map, operator config, helm chart values and templates (#595) 2019-07-08 17:49:25 +02:00
pod.go reflect change in github url (#496) 2019-02-25 11:26:55 +01:00
postgresql.go Remove service accounts cache (#685) 2019-10-11 11:06:14 +02:00
postgresql_test.go reflect change in github url (#496) 2019-02-25 11:26:55 +01:00
types.go reflect change in github url (#496) 2019-02-25 11:26:55 +01:00
util.go Not being able to register CRD is not a fatal error (#444) 2019-06-14 16:08:29 +02:00
util_test.go Use /status subresource instead of plain manifest field (#534) 2019-05-07 12:01:45 +02:00