diff --git a/hypershift-operator/controllers/nodepool/nodepool_controller.go b/hypershift-operator/controllers/nodepool/nodepool_controller.go index 497f6114aa..aa4a37a783 100644 --- a/hypershift-operator/controllers/nodepool/nodepool_controller.go +++ b/hypershift-operator/controllers/nodepool/nodepool_controller.go @@ -134,7 +134,7 @@ func (r *NodePoolReconciler) SetupWithManager(mgr ctrl.Manager) error { } if err := ctrl.NewControllerManagedBy(mgr). - For(&corev1.Secret{}). + For(&corev1.Secret{}, builder.WithPredicates(supportutil.PredicatesForHostedClusterAnnotationScoping(mgr.GetClient()))). WithOptions(controller.Options{ RateLimiter: workqueue.NewItemExponentialFailureRateLimiter(1*time.Second, 10*time.Second), MaxConcurrentReconciles: 10,