From ff2ae735df530c5ce96e4c6cbec16152246f9625 Mon Sep 17 00:00:00 2001 From: lbowe Date: Tue, 19 Mar 2024 13:40:27 -0500 Subject: [PATCH] Add poll-interval to EFS mount target Signed-off-by: Logan Bowe --- pkg/controller/efs/mounttarget/setup.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/controller/efs/mounttarget/setup.go b/pkg/controller/efs/mounttarget/setup.go index ca80489823..daee099dc9 100644 --- a/pkg/controller/efs/mounttarget/setup.go +++ b/pkg/controller/efs/mounttarget/setup.go @@ -41,6 +41,7 @@ func SetupMountTarget(mgr ctrl.Manager, o controller.Options) error { managed.WithInitializers(), managed.WithCriticalAnnotationUpdater(custommanaged.NewRetryingCriticalAnnotationUpdater(mgr.GetClient())), managed.WithExternalConnecter(&connector{kube: mgr.GetClient(), opts: opts}), + managed.WithPollInterval(o.PollInterval), managed.WithLogger(o.Logger.WithValues("controller", name)), managed.WithRecorder(event.NewAPIRecorder(mgr.GetEventRecorderFor(name))), managed.WithConnectionPublishers(cps...),