diff --git a/internal/controller/datadogagent_controller.go b/internal/controller/datadogagent_controller.go index f5ac05065..d2f2a6d81 100644 --- a/internal/controller/datadogagent_controller.go +++ b/internal/controller/datadogagent_controller.go @@ -254,7 +254,7 @@ func (r *DatadogAgentReconciler) SetupWithManager(mgr ctrl.Manager) error { })) } - if err := builder.For(&datadoghqv2alpha1.DatadogAgent{}, builderOptions...).Complete(r); err != nil { + if err := builder.For(&datadoghqv2alpha1.DatadogAgent{}, builderOptions...).WithEventFilter(predicate.GenerationChangedPredicate{}).Complete(r); err != nil { return err }