Skip to content

Commit

Permalink
fix(doc): Handle CRDs in helm upgrade/delete
Browse files Browse the repository at this point in the history
  • Loading branch information
gansheer committed Nov 24, 2023
1 parent 20213e4 commit 648ee29
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions helm/camel-k/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,30 @@ additional parameters that can be set during installation.

> **Tip**: List all releases using `helm list`
## Upgrading the Chart

If you are upgrading the `camel-k` Deployment, you should always use a specific version of the chart and pre-install the CRDS:

```
$ kubectl replace -k "https://github.com/apache/camel-k/config/crd?ref=vx.y.z"
$ helm upgrade camel-k/camel-k --version x.y.z
```

## Uninstalling the Chart

To uninstall/delete the `camel-k` Deployment:

```bash
$ helm delete camel-k
$ helm uninstall camel-k
```

The command removes all the Kubernetes resources installed.
The command removes all of the Kubernetes resources installed, except the CRDs.

To remove them:
```bash

$ kubectl delete -k "https://github.com/apache/camel-k/config/crd?ref=vx.y.z"
```

## Configuration

Expand Down

0 comments on commit 648ee29

Please sign in to comment.