Skip to content

Commit acc4b20

Browse files
committed
chore: uninstall do not remove repo and update docs
1 parent 4721233 commit acc4b20

5 files changed

Lines changed: 5 additions & 6 deletions

File tree

docs/user_docs/cli/kbcli_cluster_create.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,11 @@ kbcli cluster create [NAME] [flags]
166166
* [kbcli cluster create llm](kbcli_cluster_create_llm.md) - Create a llm cluster.
167167
* [kbcli cluster create mongodb](kbcli_cluster_create_mongodb.md) - Create a mongodb cluster.
168168
* [kbcli cluster create mysql](kbcli_cluster_create_mysql.md) - Create a mysql cluster.
169+
* [kbcli cluster create oriol](kbcli_cluster_create_oriol.md) - Create a oriol cluster.
169170
* [kbcli cluster create postgresql](kbcli_cluster_create_postgresql.md) - Create a postgresql cluster.
170171
* [kbcli cluster create qdrant](kbcli_cluster_create_qdrant.md) - Create a qdrant cluster.
171172
* [kbcli cluster create redis](kbcli_cluster_create_redis.md) - Create a redis cluster.
173+
* [kbcli cluster create tidb](kbcli_cluster_create_tidb.md) - Create a tidb cluster.
172174
* [kbcli cluster create xinference](kbcli_cluster_create_xinference.md) - Create a xinference cluster.
173175

174176
#### Go Back to [CLI Overview](cli.md) Homepage.

docs/user_docs/cli/kbcli_cluster_create_mongodb.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ kbcli cluster create mongodb NAME [flags]
3535
--storage-class-name string Storage class name of the data volume
3636
--tenancy string The tenancy of cluster. Legal values [SharedNode, DedicatedNode]. (default "SharedNode")
3737
--termination-policy string The termination policy of cluster. Legal values [DoNotTerminate, Halt, Delete, WipeOut]. (default "Delete")
38-
--version string Cluster version. Legal values [7.0.12, 6.0.16, 5.0.28, 4.4.29, 4.2.24, 4.0.28]. (default "6.0.16")
38+
--version string Cluster version. Legal values [8.0.4, 7.0.16, 7.0.12, 6.0.20, 6.0.16, 5.0.30, 5.0.28, 4.4.29, 4.2.24, 4.0.28]. (default "6.0.16")
3939
```
4040

4141
### Options inherited from parent commands

docs/user_docs/cli/kbcli_cluster_create_oriol.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ kbcli cluster create oriol NAME [flags]
3737
--storage-class-name string Storage class name of the data volume
3838
--tenancy string The tenancy of cluster. Legal values [SharedNode, DedicatedNode]. (default "SharedNode")
3939
--termination-policy string The termination policy of cluster. Legal values [DoNotTerminate, Halt, Delete, WipeOut]. (default "Delete")
40-
--version string
40+
--version string (default "orioledb-beta1")
4141
```
4242

4343
### Options inherited from parent commands

docs/user_docs/cli/kbcli_cluster_create_redis.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ kbcli cluster create redis NAME [flags]
4646
--sentinel.memory float Sentinel component memory, the unit is Gi. Value range [0.1, 4]. (default 0.2)
4747
--sentinel.replicas float Sentinel component replicas Value range [1, 5]. (default 3)
4848
--sentinel.storage float Sentinel component storage size, the unit is Gi. Value range [1, 1024]. (default 20)
49+
--sentinel.storage-class-name string Sentinel component storage class name
4950
--storage float Storage size, the unit is Gi. Value range [1, 10000]. (default 20)
5051
--storage-class-name string Storage class name of the data volume
5152
--tenancy string The tenancy of cluster. Legal values [SharedNode, DedicatedNode]. (default "SharedNode")

pkg/cmd/kubeblocks/uninstall.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,6 @@ func (o *UninstallOptions) Uninstall() error {
168168
printSpinner(newSpinner("Uninstall helm release "+types.KubeBlocksReleaseName+" "+v.KubeBlocks),
169169
chart.Uninstall(o.HelmCfg))
170170

171-
// remove repo
172-
printSpinner(newSpinner("Remove helm repo "+types.KubeBlocksChartName),
173-
helm.RemoveRepo(&repo.Entry{Name: types.KubeBlocksChartName}))
174-
175171
// get KubeBlocks objects, then try to remove them
176172
objs, err := getKBObjects(o.Dynamic, o.Namespace, o.addons)
177173
if err != nil {

0 commit comments

Comments
 (0)