headlamp-k8s / headlamp

A Kubernetes web UI that is fully-featured, user-friendly and extensible
https://headlamp.dev
Apache License 2.0
2.22k stars 156 forks source link

Delete a CRD doesn't work #2028

Closed Guilamb closed 4 months ago

Guilamb commented 4 months ago

Description:

When attempting to remove a CRD, a green pop-up appears indicating that the CRD has been successfully deleted. However, upon further inspection, the CRD is still present in the cluster. This inconsistency between the UI feedback and the actual state of the system can lead to confusion.

Steps to Reproduce:

Navigate to the CRD section in the Kubernetes dashboard.
Select a CRD to delete.
Confirm deletion when prompted.

Expected Behavior:

The CRD should be completely removed.

Actual Behavior:

The UI indicates that the CRD has been deleted with a green pop-up message, but the CRD remains. crd_deletion_headlamp

Guilamb commented 4 months ago

If further information is required, please let me know. I am currently working on the main branch and running Headlamp in development mode using the commands make run-frontend and make run-backend.

Also the actions done in the Gif are :

joaquimrocha commented 4 months ago

Hi @Guilamb , which version of Headlamp was this on? Because I did fix an issue exactly like this in the last release.

Guilamb commented 4 months ago

Sorry, my bad, I was using commits from May 28th. After updating my branch the issue was resolved. Thank you for your assistance. I am closing this issue.

joaquimrocha commented 4 months ago

No worries. I'm glad it works now.