From eb67497f5f23c1b25836abb256fcaab072b6853e Mon Sep 17 00:00:00 2001 From: Chao-Heng Lee Date: Sun, 10 Sep 2023 20:27:47 +0800 Subject: [PATCH] start informerFactory by default. Signed-off-by: Chao-Heng Lee --- pkg/controller/controller.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkg/controller/controller.go b/pkg/controller/controller.go index 3aedbed64..ebdf52a58 100644 --- a/pkg/controller/controller.go +++ b/pkg/controller/controller.go @@ -598,9 +598,7 @@ func StartController(ctx context.Context, cfg *config.Config, defaultNamespace s } go flyteworkflowInformerFactory.Start(ctx.Done()) - if flyteK8sConfig.GetK8sPluginConfig().DefaultPodTemplateName != "" { - go informerFactory.Start(ctx.Done()) - } + go informerFactory.Start(ctx.Done()) if err = c.Run(ctx); err != nil { return errors.Wrapf(err, "Error running FlytePropeller.")