to reduce the memory footprint of the nats-manager and to make its memory footprint more predictable objects not required by the nats-manager need to be excluded from the kubernetes clients caches.
Acceptance
[x] unnecessary objects are not loaded into the cache
[x] necessary objects (if they cannot be filtered using labels or other means) will be loaded directly from the API server
Hint: check the eventing manager for implementation details
Description
to reduce the memory footprint of the nats-manager and to make its memory footprint more predictable objects not required by the nats-manager need to be excluded from the kubernetes clients caches.
Acceptance