1
0
mirror of synced 2026-02-06 10:55:56 +00:00

Delete custom resources during uninstall

Remove Kustomizations, GitRepositories and HelmRepositories before deleting the toolkit controllers and CRDs.
This commit is contained in:
stefanprodan
2020-07-23 08:41:27 +03:00
parent 10cc6d7e08
commit 8e67cfd5c9
2 changed files with 30 additions and 27 deletions

View File

@@ -17,18 +17,18 @@ tk uninstall [flags]
tk uninstall --dry-run --namespace=gitops-system
# Uninstall all components and delete custom resource definitions
tk uninstall --crds --namespace=gitops-system
tk uninstall --resources --crds --namespace=gitops-system
```
### Options
```
--crds removes all CRDs previously installed
--dry-run only print the object that would be deleted
-h, --help help for uninstall
--kustomizations removes all Kustomizations previously installed
-s, --silent delete components without asking for confirmation
--crds removes all CRDs previously installed
--dry-run only print the object that would be deleted
-h, --help help for uninstall
--resources removes custom resources such as Kustomizations, GitRepositories and HelmRepositories
-s, --silent delete components without asking for confirmation
```
### Options inherited from parent commands