postgres-operator/pkg
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
..
apis/acid.zalan.do Replace glide with Go modules (#544) 2019-10-02 16:18:55 +02:00
apiserver reflect change in github url (#496) 2019-02-25 11:26:55 +01:00
cluster move StatefulSet to apps/v1 (#675) 2019-09-30 16:42:04 +02:00
controller Remove service accounts cache (#685) 2019-10-11 11:06:14 +02:00
generated Replace glide with Go modules (#544) 2019-10-02 16:18:55 +02:00
spec Fix golint failures 2019-01-08 13:04:48 +01:00
util move StatefulSet to apps/v1 (#675) 2019-09-30 16:42:04 +02:00