From 53c12a4b83f11ec5c7b92ac4ead385d3cfcb4a3b Mon Sep 17 00:00:00 2001 From: Florian Hopfensperger Date: Mon, 17 Oct 2022 14:58:33 +0200 Subject: [PATCH] Add PollInterval to controller setup functions Signed-off-by: Florian Hopfensperger --- pkg/pipeline/templates/controller.go.tmpl | 1 + 1 file changed, 1 insertion(+) 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).