diff --git a/kubectl-plugin/install/kk.go b/kubectl-plugin/install/kk.go index 64ff3a4..e8667ae 100644 --- a/kubectl-plugin/install/kk.go +++ b/kubectl-plugin/install/kk.go @@ -36,7 +36,7 @@ ks install kk --version nightly --components devops`, flags := cmd.Flags() flags.StringVarP(&opt.version, "version", "v", types.KsVersion, fmt.Sprintf("The version of KubeSphere. Support value could be %s, nightly, nightly-20210309. nightly equals to nightly-latest", types.KsVersion)) - flags.StringVarP(&opt.version, "kubernetesVersion", "", types.K8sVersion, + flags.StringVarP(&opt.kubernetesVersion, "kubernetesVersion", "", types.K8sVersion, "The version of Kubernetes") flags.StringArrayVarP(&opt.components, "components", "", []string{}, "The components which you want to enable after the installation")