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

Allow to delete any clusters when using Headlamp (desktop version) #1418

Open joaquimrocha opened 1 year ago

joaquimrocha commented 1 year ago

A few users (e.g. 1) have been confused about why they cannot delete clusters from Headlamp when in fact that's possible but we've restricted it to only clusters added from Headlamp itself. The reasons for this were that we didn't want to eventually let the user delete a cluster from their kubeconfig when thinking they're deleting it just from Headlamp. However, the reason why they cannot delete such clusters is not clear to users and not even practical according to some.

The way to fix this, IMO, is to allow users to delete any clusters, but making what they are doing very clear to them. This would be:

Alternatively, we could ask the user whether they want to delete non-Headlamp-origin clusters just from Headlamp (i.e. hide them), or also from their config file.

xianwum commented 1 year ago

I tried to build Headlamp (desktop version) in Linux from headlamp source but failed to find steps to do so in the documentation. Can you please help to share me details?

joaquimrocha commented 10 months ago

@xianwum Sorry I missed your comment. Have you made any progress since the last time you tried?