Skip to content

Commit

Permalink
doc: Removes Helm 2 related documentation
Browse files Browse the repository at this point in the history
This commit updates the documentation to reflect the deprecation of Helm v2.

Signed-off-by: ShravaniVangur <[email protected]>
  • Loading branch information
ShravaniVangur authored and mergify[bot] committed Jan 28, 2025
1 parent ecd1597 commit dd2c5e1
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 56 deletions.
40 changes: 12 additions & 28 deletions charts/ceph-csi-cephfs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,27 +22,19 @@ cd charts

### Install Chart

To install the Chart into your Kubernetes cluster
To install the Chart into your Kubernetes cluster(For helm 3.x):

- For helm 2.x
Create the namespace where Helm should install the components with

```bash
helm install --namespace "ceph-csi-cephfs" --name "ceph-csi-cephfs" ceph-csi/ceph-csi-cephfs
```

- For helm 3.x

Create the namespace where Helm should install the components with

```bash
kubectl create namespace ceph-csi-cephfs
```
```bash
kubectl create namespace ceph-csi-cephfs
```

Run the installation
Run the installation

```bash
helm install --namespace "ceph-csi-cephfs" "ceph-csi-cephfs" ceph-csi/ceph-csi-cephfs
```
```bash
helm install --namespace "ceph-csi-cephfs" "ceph-csi-cephfs" ceph-csi/ceph-csi-cephfs
```

After installation succeeds, you can get a status of Chart

Expand Down Expand Up @@ -111,17 +103,9 @@ permissions will be granted globally via a *ClusterRole*.

If you want to delete your Chart, use this command

- For helm 2.x

```bash
helm delete --purge "ceph-csi-cephfs"
```

- For helm 3.x

```bash
helm uninstall "ceph-csi-cephfs" --namespace "ceph-csi-cephfs"
```
```bash
helm uninstall "ceph-csi-cephfs" --namespace "ceph-csi-cephfs"
```

If you want to delete the namespace, use this command

Expand Down
40 changes: 12 additions & 28 deletions charts/ceph-csi-rbd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,27 +22,19 @@ cd charts

### Install chart

To install the Chart into your Kubernetes cluster
To install the Chart into your Kubernetes cluster(For helm 3.x):

- For helm 2.x
Create the namespace where Helm should install the components with

```bash
helm install --namespace "ceph-csi-rbd" --name "ceph-csi-rbd" ceph-csi/ceph-csi-rbd
```

- For helm 3.x

Create the namespace where Helm should install the components with

```bash
kubectl create namespace "ceph-csi-rbd"
```
```bash
kubectl create namespace "ceph-csi-rbd"
```

Run the installation
Run the installation

```bash
helm install --namespace "ceph-csi-rbd" "ceph-csi-rbd" ceph-csi/ceph-csi-rbd
```
```bash
helm install --namespace "ceph-csi-rbd" "ceph-csi-rbd" ceph-csi/ceph-csi-rbd
```

After installation succeeds, you can get a status of Chart

Expand Down Expand Up @@ -84,17 +76,9 @@ compare your currently used values with the new default values.

If you want to delete your Chart, use this command

- For helm 2.x

```bash
helm delete --purge "ceph-csi-rbd"
```

- For helm 3.x

```bash
helm uninstall "ceph-csi-rbd" --namespace "ceph-csi-rbd"
```
```bash
helm uninstall "ceph-csi-rbd" --namespace "ceph-csi-rbd"
```

If you want to delete the namespace, use this command

Expand Down

0 comments on commit dd2c5e1

Please sign in to comment.