add link of kubeadm config doc

This commit is contained in:
alan 2019-07-22 22:44:30 +08:00
parent 7e6b70fbb5
commit ca8d5759ff
No known key found for this signature in database
GPG Key ID: 589BB12952A436D8

View File

@ -96,8 +96,10 @@ func NewCmdConfigPrint(out io.Writer) *cobra.Command {
cmd := &cobra.Command{
Use: "print",
Short: "Print configuration",
Long: "This command prints configurations for subcommands provided.",
RunE: cmdutil.SubCmdRunE("print"),
Long: dedent.Dedent(`
This command prints configurations for subcommands provided.
For details, see: https://godoc.org/k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm/v1beta2`),
RunE: cmdutil.SubCmdRunE("print"),
}
cmd.AddCommand(NewCmdConfigPrintInitDefaults(out))
cmd.AddCommand(NewCmdConfigPrintJoinDefaults(out))