cluster-templates-operator
cluster-templates-operator copied to clipboard
Improve watch on CTI controller only for argocd resources
Currently every HostedCluster/ClusterDeployment is being watched. We should limit this to resources created by argocd (label app.kubernetes.io/instance)
There are multiple options for tracking argocd resources, see https://argo-cd.readthedocs.io/en/stable/user-guide/resource_tracking/
if the argocd is configured to use annotations, we wouldnt gain any benefit. Lets close it for now and revisit later if needed