From 265bfe9bb3565e15ac2e0d0e2f73bcf8df87354b Mon Sep 17 00:00:00 2001 From: johnniang Date: Fri, 30 Apr 2021 14:28:30 +0800 Subject: [PATCH] Update other ks versions Signed-off-by: johnniang --- cmd/config.go | 2 +- cmd/upgrade.go | 2 +- docs/config-example.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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: