You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Enable leader election for controller manager. "+
57
59
"Enabling this will ensure there is only one active controller manager.")
60
+
flag.StringVar(
61
+
&watchNamespace,
62
+
"namespace",
63
+
"",
64
+
"Namespace that the controller watches to reconcile cluster-api objects. If unspecified, the controller watches for cluster-api objects across all namespaces.",
65
+
)
58
66
flag.Parse()
59
67
60
68
ctrl.SetLogger(zap.New(zap.UseDevMode(true)))
69
+
70
+
ifwatchNamespace!="" {
71
+
setupLog.Info("Watching cluster-api objects only in namespace for reconciliation", "namespace", watchNamespace)
0 commit comments