We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 297302f commit 56eceecCopy full SHA for 56eceec
controllers/operandrequest_controller.go
@@ -297,7 +297,7 @@ func getConfigToRequestMapper(mgr manager.Manager) handler.ToRequestsFunc {
297
// SetupWithManager adds OperandRequest controller to the manager.
298
func (r *OperandRequestReconciler) SetupWithManager(mgr ctrl.Manager) error {
299
return ctrl.NewControllerManagedBy(mgr).
300
- For(&operatorv1alpha1.OperandRequest{}).
+ For(&operatorv1alpha1.OperandRequest{}, builder.WithPredicates(predicate.GenerationChangedPredicate{})).
301
Watches(&source.Kind{Type: &operatorv1alpha1.OperandRegistry{}}, &handler.EnqueueRequestsFromMapFunc{
302
ToRequests: getRegistryToRequestMapper(mgr),
303
}, builder.WithPredicates(predicate.Funcs{
0 commit comments