mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 09:49:50 +00:00
fix leader-elect-resource-lock's description
This commit is contained in:
parent
defbe45397
commit
e02fec7b21
@ -61,6 +61,6 @@ func BindFlags(l *componentconfig.LeaderElectionConfiguration, fs *pflag.FlagSet
|
|||||||
"The duration the clients should wait between attempting acquisition and renewal "+
|
"The duration the clients should wait between attempting acquisition and renewal "+
|
||||||
"of a leadership. This is only applicable if leader election is enabled.")
|
"of a leadership. This is only applicable if leader election is enabled.")
|
||||||
fs.StringVar(&l.ResourceLock, "leader-elect-resource-lock", l.ResourceLock, ""+
|
fs.StringVar(&l.ResourceLock, "leader-elect-resource-lock", l.ResourceLock, ""+
|
||||||
"The type of resource resource object that is used for locking during"+
|
"The type of resource object that is used for locking during "+
|
||||||
"leader election. Supported options are `endpoints` (default) and `configmap`.")
|
"leader election. Supported options are `endpoints` (default) and `configmap`.")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user