GoogleCloudPlatform / GoogleCloudPlatform/pubsec-declarative-toolkit
Unable to clean up all deployed solution resources easily
- Dominant language
- Shell
- Stars
- 36
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
Once all solutions are deployed, you are not able to easily figure out the install sequence of each solution and then destroy the solution in the reserve sequence of the initial deployment sequence. When you have to delete all resources by the “kubectl delete –all -A”, some solution resources won’t be deleted.
**To Reproduce**
Step1: Deploy a complex kcc landing zone including core landing zone, gatekeeper, client setup, client landing zone, client project packages.
Step2: Perform a full cleanup by the below commands.
```
kubectl delete gcp --all -A
```
Step3: Found a lot f resources won't be deleted as shown below no matter how many times you run the above command to cleanup.



**Expected behavior**
A full-tested one-step cleanup solution/guide/document should be provided so that we can destroy all deployed resources easily and smoothly without any issues.
Contributor guide
Assessment
This issue has not been assessed yet.