Skip to content

Commit

Permalink
fix(main): SecretSyncController split namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
aGallea committed Sep 8, 2024
1 parent 60a9949 commit 6224c23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6224c23

Please sign in to comment.