busola
busola copied to clipboard
Delete module with managed resources and operator resources
Description Users should be aware of existing resources coming from the modules when they choose to delete one of them. If there is at least one resource user should be given a choice on how to proceed:
- cancel the deletion (nothing happens)
- delete all managed resources first and once the list is empty then delete the module
When the module is managed (entry exists in the default Kyma CR) the deletion should only remove that entry from Kyma CR. For not managed modules deletion should actively remove all module operator resources.
Reasons Currently, the module deletion process can hang and users have to figure out how to unblock it themselves. The module operators wait until all dependent managed resources are deleted. Users have to find all of these resources and delete them one by one. Another problem is that users are not aware of the consequences of the module deletion and can trigger deletion even if the module is in use (a lot of resources exist).
Attachments
See the deletion scenario in this issue: https://github.com/kyma-project/kyma/issues/18450