-
Notifications
You must be signed in to change notification settings - Fork 116
Projects stuck on deletion shows misleading message #2613
Copy link
Copy link
Open
Labels
component/dashboardGardener DashboardGardener Dashboardkind/bugBugBuglifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.Indicates that an issue or PR should not be auto-closed due to staleness.
Description
What happened:
Deleting a project got stuck and the dashboard was suggesting that it deletion is still pending because of existing backupentries.
However, checking the project namespace shows that there are no backupentries.
> kubectl --namespace garden-myproject get backupentries
No resources found in garden-myproject namespace.
What appears to be blocking the project namespace deletion in this particular case are secrets with attached finalizers. There might be other resources, though.
The message however displayed on the dashboard is misleading and might confuse people when trying to understand why deletion is stuck.
What you expected to happen:
Better message indicating the reason why deletion is stuck.
How to reproduce it (as minimally and precisely as possible):
- Create a new project.
- Create a new secret and add a finalizer to it
- Delete the project
Anything else we need to know:
Environment:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
component/dashboardGardener DashboardGardener Dashboardkind/bugBugBuglifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.Indicates that an issue or PR should not be auto-closed due to staleness.