diff --git a/pkg/pipeline/templates/controller.go.tmpl b/pkg/pipeline/templates/controller.go.tmpl index c213fa05..7dd13a43 100644 --- a/pkg/pipeline/templates/controller.go.tmpl +++ b/pkg/pipeline/templates/controller.go.tmpl @@ -48,6 +48,7 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithTimeout(3*time.Minute), managed.WithInitializers(initializers), managed.WithConnectionPublishers(cps...), + managed.WithPollInterval(o.PollInterval), ) return ctrl.NewControllerManagedBy(mgr).