fmt.Sprintf("Describes the ways in which this token can be used. You can pass --usages multiple times or provide a comma separated list of options. Valid options: [%s]",strings.Join(kubeadmconstants.DefaultTokenUsages,",")),
fmt.Sprintf("Describes the ways in which this token can be used. You can pass --usages multiple times or provide a comma separated list of options. Valid options: [%s]",strings.Join(kubeadmconstants.DefaultTokenUsages,",")),
// This call returns the ready-to-use configuration based on the configuration file that might or might not exist and the default cfg populated by flags
// This call returns the ready-to-use configuration based on the configuration file that might or might not exist and the default cfg populated by flags
"ttl",kubeadmconstants.DefaultTokenDuration,"The duration before the token is automatically deleted (e.g. 1s, 2m, 3h). If set to '0', the token will never expire.")
"config",cfgPath,"Path to kubeadm config file (WARNING: Usage of a configuration file is experimental)")
"usages",kubeadmconstants.DefaultTokenUsages,fmt.Sprintf("Describes the ways in which this token can be used. You can pass --usages multiple times or provide a comma separated list of options. Valid options: [%s].",strings.Join(kubeadmconstants.DefaultTokenUsages,",")))
"ttl",cfg.TokenTTL.Duration,"The duration before the token is automatically deleted (e.g. 1s, 2m, 3h). If set to '0', the token will never expire.")
"usages",cfg.TokenUsages,fmt.Sprintf("Describes the ways in which this token can be used. You can pass --usages multiple times or provide a comma separated list of options. Valid options: [%s].",strings.Join(kubeadmconstants.DefaultTokenUsages,",")))
// This call returns the ready-to-use configuration based on the configuration file that might or might not exist and the default cfg populated by flags