Description of problem: "Delete dependent objects of this resource" is a bit of confusing for some users because when creating the Application in Dev console not only the deployment but also IS, route, svc, secret objects will be created as well. When deleting the Application (in fact it is deployment), there is an option called "Delete dependent objects of this resource" and some users might think this means the IS, route, svc and any other objects which are created alongside with the deployment will be deleted as well Version-Release number of selected component (if applicable): 4.8 How reproducible: 100% Steps to Reproduce: 1. Create Application in Dev console 2. Delete the deployment 3. Check "Delete dependent objects of this resource" Actual results: Only deployment will be deleted and IS, svc, route will not be deleted Expected results: We either change the description of this option, or we really delete IS, svc, route and any other objects created under this Application. Additional info:
The checkbox is used to start the garbage collection which means any resources linked with deployment pods via owner references will be deleted. It does not delete all the resources created via ODC app creation forms. @cjerolim @jakumar @sdoyle IMO since here we are just deleting a deployment it makes sense to update the text to prevent confusion instead of deleting all created resources in the background as this already happens once the user deletes the application group.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: OpenShift Container Platform 4.13.0 security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2023:1326