From 6224c23e9ae562d435097405e036e0af7f444b1d Mon Sep 17 00:00:00 2001 From: Asaf Gallea Date: Sun, 8 Sep 2024 13:56:51 +0300 Subject: [PATCH] fix(main): SecretSyncController split namespaces --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index fbc59f7f0..cddc52626 100644 --- a/main.go +++ b/main.go @@ -213,7 +213,7 @@ func main() { if err = (&replicationctrl.SecretSyncController{ ReconcilerConfig: reconcilerConfig, ClientCache: clientCache, - WatchNamespaces: []string{watchNamespace}, + WatchNamespaces: strings.Split(watchNamespace, ","), }).SetupWithManager(mgr, additionalClusters, setupLog); err != nil { setupLog.Error(err, "unable to create controller", "controller", "SecretSync") os.Exit(1)