Skip to content

Commit 97e095a

Browse files
committed
main.go: clarify when --leader-election-namespace is required
1 parent 764167d commit 97e095a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ func main() {
6969
pflag.StringVar(&leaderElectionID, "leader-election-id", "",
7070
"Name of the configmap that is used for holding the leader lock.")
7171
pflag.StringVar(&leaderElectionNamespace, "leader-election-namespace", "",
72-
"Namespace in which to create the leader election configmap for holding the leader lock (required if running locally).")
72+
"Namespace in which to create the leader election configmap for holding the leader lock (required if running locally with leader election enabled).")
7373

7474
pflag.StringVar(&watchesFile, "watches-file", "./watches.yaml", "Path to watches.yaml file.")
7575
pflag.DurationVar(&defaultReconcilePeriod, "reconcile-period", time.Minute, "Default reconcile period for controllers (use 0 to disable periodic reconciliation)")

0 commit comments

Comments
 (0)