Skip to content

Commit 6726fd3

Browse files
authored
Merge pull request #1446 from inteon/document_cmctl_safe_uninstall
Explain that cmctl x uninstall is now safe by default
2 parents 028a52e + 0fcee4e commit 6726fd3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

content/docs/reference/cmctl.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,10 @@ cmctl x uninstall
317317

318318
This command uninstalls any Helm-managed release of cert-manager.
319319

320-
The CRDs will be deleted if you installed cert-manager with the option `--set CRDs=true`.
320+
Starting from cmctl `v2.0.0`, the uninstall command is safe and will not delete the CRDs
321+
by default, even if they were installed with the Helm chart (using the option `--set installCRDs=true`).
322+
323+
> 🕐 Before `v2.0.0`, cmctl would remove the CRDs if they were installed with the Helm chart (similar to Helm's behavior).
321324
322325
Most of the features supported by `helm uninstall` are also supported by this command.
323326

@@ -329,8 +332,6 @@ cmctl x uninstall
329332
cmctl x uninstall --namespace my-cert-manager
330333

331334
cmctl x uninstall --dry-run
332-
333-
cmctl x uninstall --no-hooks
334335
```
335336

336337
### Upgrade

0 commit comments

Comments
 (0)