Skip to content

Commit

Permalink
Fix the wrong flags of the k8s version in kk install cmd (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
LinuxSuRen committed Nov 29, 2021
1 parent 65fad1a commit 92bda65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kubectl-plugin/install/kk.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 92bda65

Please sign in to comment.