ssp-operator
ssp-operator copied to clipboard
DRAFT - feat: Limit cache to watch only relevant objects
WORK IN PROGRESS
What this PR does / why we need it: Currently the cache watches all objects of specific types in all namespaces. This adds unnecessary memory load to the operator. The allocated memory scales with objects in the cluster that are not related to the operator, for example deployments created by users.
This PR limits which objects the cache watches.
Which issue(s) this PR fixes: Jira: https://issues.redhat.com/browse/CNV-41247 Jira: https://issues.redhat.com/browse/CNV-38130
Release note:
None