kubeadm: change API URL for "kubeadm config print"

There is a new API link for godoc. Also link to the anchor / list
of APIs instead of pinning to a specific version.
This commit is contained in:
Lubomir I. Ivanov 2021-04-01 02:24:51 +03:00
parent 4cba7dcc43
commit 6b6ae146cd

View File

@ -91,7 +91,7 @@ func newCmdConfigPrint(out io.Writer) *cobra.Command {
Short: "Print configuration",
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`),
For details, see: https://pkg.go.dev/k8s.io/kubernetes/cmd/kubeadm/app/apis/kubeadm#section-directories`),
RunE: cmdutil.SubCmdRunE("print"),
}
cmd.AddCommand(newCmdConfigPrintInitDefaults(out))