Skip to content

Commit

Permalink
Add secretJanitor to scoped support
Browse files Browse the repository at this point in the history
  • Loading branch information
pamelachristie committed Oct 24, 2024
1 parent ff09b50 commit ace0345
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ace0345

Please sign in to comment.