We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 995bf26 commit eb6dcb3Copy full SHA for eb6dcb3
internal/controller/gateway_controller.go
@@ -62,7 +62,10 @@ func (r *GatewayReconciler) SetupWithManager(mgr ctrl.Manager) error {
62
For(
63
&gatewayv1.Gateway{},
64
builder.WithPredicates(
65
- predicate.NewPredicateFuncs(r.checkGatewayClass),
+ predicate.And(
66
+ predicate.NewPredicateFuncs(r.checkGatewayClass),
67
+ predicate.GenerationChangedPredicate{},
68
+ ),
69
),
70
).
71
Watches(
0 commit comments