mirror of
https://github.com/coreos/prometheus-operator.git
synced 2026-02-05 15:46:31 +01:00
This commit adds multi-namespace support to the Prometheus Operator. PO now allows all informers to react to changes to multiple, individually configured, namespaces, i.e. without specifying v1.NamespaceAll. This is important for cases where the Prometheus Operator does not have privileges to List all namespaces but should still administer multiple namespaces. This capability is accomplished by abstracting the cache.ListerWatchers for the various informers the PO uses.