Skip to content

Commit

Permalink
Simplified Helm CRD's cleanup procedure (#1246)
Browse files Browse the repository at this point in the history
Signed-off-by: dzhi <purpleritza@gmail.com>

Co-authored-by: Max Smythe <smythe@google.com>
  • Loading branch information
pentago and maxsmythe committed Apr 14, 2021
1 parent 183f40a commit 4cbf8bd
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions website/docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,7 @@ helm delete <release name>

Helm v3 will not cleanup Gatekeeper installed CRDs. Run the following to uninstall Gatekeeper CRDs:
```sh
kubectl delete crd \
configs.config.gatekeeper.sh \
constraintpodstatuses.status.gatekeeper.sh \
constrainttemplatepodstatuses.status.gatekeeper.sh \
constrainttemplates.templates.gatekeeper.sh
kubectl delete crd -l gatekeeper.sh/system=yes
```

This operation will also delete any user installed config changes, and constraint templates and constraints.
This operation will also delete any user installed config changes, and constraint templates and constraints.

0 comments on commit 4cbf8bd

Please sign in to comment.