1
0
mirror of https://github.com/coreos/prometheus-operator.git synced 2026-02-05 15:46:31 +01:00
Files
prometheus-operator/pkg/listwatch
Simon Pasquier 7f06be09f1 fix: detect changes without list/watch perms on namespaces
This change implements a poll-based namespace lister/watcher when the
operator's service account isn't granted the list & watch permissions on
all namespaces. Instead of sending a watch request, the controller will
get every configured namespace every 15 seconds and sends the expected
watch events when a namespace is added/updated/deleted.

It still requires the service account to be granted the get permission
on the configured namespaces.

Closes #3847

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2023-09-21 11:23:17 +02:00
..
2023-06-15 10:03:42 +02:00