add unit of --ttl duration (#3915)

* add unit of --ttl duration

fix #3890

* fix typo
This commit is contained in:
Tuna
2017-05-31 01:41:16 +07:00
committed by Andrew Chen
parent 2660141c20
commit d905c3838f
+1 -1
View File
@@ -331,7 +331,7 @@ commands.
* `kubeadm token create` Creates a new token.
* `--description` Set the description on the new token.
* `--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
`signing,authentication`. These are the usages as described above.
* `kubeadm token delete <token id>|<token id>.<token secret>` Delete a token.