Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 of 2 tasks
joaquimrocha opened this issue Sep 29, 2023 · 2 comments · May be fixed by #2567
Open
1 of 2 tasks

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

joaquimrocha opened this issue Sep 29, 2023 · 2 comments · May be fixed by #2567
Assignees
Labels
desktop Issues related to the desktop frontend Issues related to the frontend

Comments

@joaquimrocha
Copy link
Collaborator

joaquimrocha commented Sep 29, 2023

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:

  • Show the origin of each cluster in the home view #1632
  • When deleting a cluster from Headlamp, we have a confirmation dialog that informs the user about where the cluster came from. And in the case of it coming from non-Headlamp origin (like the kubeconfig), we should reinforce that it will delete it from there too.

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.

@joaquimrocha joaquimrocha added frontend Issues related to the frontend desktop Issues related to the desktop labels Sep 29, 2023
@xianwum
Copy link

xianwum commented Oct 11, 2023

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
Copy link
Collaborator Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
desktop Issues related to the desktop frontend Issues related to the frontend
Projects
Development

Successfully merging a pull request may close this issue.

3 participants