diff --git a/cmd/config.go b/cmd/config.go index 6441826b..b9bec629 100644 --- a/cmd/config.go +++ b/cmd/config.go @@ -45,7 +45,7 @@ func init() { configCmd.Flags().StringVarP(&opt.Name, "name", "", "sample", "Specify a name of cluster object") configCmd.Flags().StringVarP(&opt.ClusterCfgPath, "filename", "f", "", "Specify a configuration file path") configCmd.Flags().StringVarP(&opt.Kubernetes, "with-kubernetes", "", "", "Specify a supported version of kubernetes") - configCmd.Flags().BoolVarP(&opt.Kubesphere, "with-kubesphere", "", false, "Deploy a specific version of kubesphere (default v3.0.0)") + configCmd.Flags().BoolVarP(&opt.Kubesphere, "with-kubesphere", "", false, "Deploy a specific version of kubesphere (default v3.1.0)") configCmd.Flags().BoolVarP(&opt.FromCluster, "from-cluster", "", false, "Create a configuration based on existing cluster") configCmd.Flags().StringVarP(&opt.Kubeconfig, "kubeconfig", "", "", "Specify a kubeconfig file") } diff --git a/cmd/upgrade.go b/cmd/upgrade.go index 7955969c..302267fb 100644 --- a/cmd/upgrade.go +++ b/cmd/upgrade.go @@ -41,7 +41,7 @@ func init() { rootCmd.AddCommand(upgradeCmd) upgradeCmd.Flags().StringVarP(&opt.ClusterCfgFile, "filename", "f", "", "Path to a configuration file") upgradeCmd.Flags().StringVarP(&opt.Kubernetes, "with-kubernetes", "", "", "Specify a supported version of kubernetes") - upgradeCmd.Flags().BoolVarP(&opt.Kubesphere, "with-kubesphere", "", false, "Deploy a specific version of kubesphere (default v3.0.0)") + upgradeCmd.Flags().BoolVarP(&opt.Kubesphere, "with-kubesphere", "", false, "Deploy a specific version of kubesphere (default v3.1.0)") upgradeCmd.Flags().BoolVarP(&opt.SkipPullImages, "skip-pull-images", "", false, "Skip pre pull images") upgradeCmd.Flags().StringVarP(&opt.DownloadCmd, "download-cmd", "", "curl -L -o %s %s", `The user defined command to download the necessary binary files. The first param '%s' is output path, the second param '%s', is the URL`) diff --git a/docs/config-example.md b/docs/config-example.md index 3bd40c59..dd1c6e82 100644 --- a/docs/config-example.md +++ b/docs/config-example.md @@ -50,7 +50,7 @@ metadata: name: ks-installer namespace: kubesphere-system labels: - version: v3.0.0 + version: v3.1.0 spec: local_registry: "" persistence: