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
{{ message }}
This repository was archived by the owner on Jul 30, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: main.go
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,7 @@ func main() {
53
53
metricsAddrstring
54
54
enableLeaderElectionbool
55
55
syncPeriod time.Duration
56
+
watchNamespacestring
56
57
)
57
58
58
59
flag.StringVar(
@@ -76,6 +77,13 @@ func main() {
76
77
"The minimum interval at which watched resources are reconciled (e.g. 10m)",
77
78
)
78
79
80
+
flag.StringVar(
81
+
&watchNamespace,
82
+
"namespace",
83
+
"",
84
+
"Namespace that the controller watches to reconcile cluster-api objects. If unspecified, the controller watches for cluster-api objects across all namespaces.",
0 commit comments