add unit of --ttl duration (#3915)
* add unit of --ttl duration fix #3890 * fix typo
This commit is contained in:
@@ -331,7 +331,7 @@ commands.
|
|||||||
* `kubeadm token create` Creates a new token.
|
* `kubeadm token create` Creates a new token.
|
||||||
* `--description` Set the description on the new token.
|
* `--description` Set the description on the new token.
|
||||||
* `--ttl duration` Set expiration time of the token as a delta from "now".
|
* `--ttl duration` Set expiration time of the token as a delta from "now".
|
||||||
Default is 0 for no expiration.
|
Default is 0 for no expiration. The unit of the duration is seconds.
|
||||||
* `--usages` Set the ways that the token can be used. The default is
|
* `--usages` Set the ways that the token can be used. The default is
|
||||||
`signing,authentication`. These are the usages as described above.
|
`signing,authentication`. These are the usages as described above.
|
||||||
* `kubeadm token delete <token id>|<token id>.<token secret>` Delete a token.
|
* `kubeadm token delete <token id>|<token id>.<token secret>` Delete a token.
|
||||||
|
|||||||
Reference in New Issue
Block a user