headlamp
headlamp copied to clipboard
Option to rename a cluster?
Sometimes it would be useful to be able to assign a custom name to an imported cluster (for example, because it's the same or too similar to an existing one). It seems to me that currently headlamp just takes the name it finds in the kubeconfig and that cannot be changed afterwards.
Yup. We should have that. I will add it to the backlog.
Working on this.
I think the UI needs a bit of tweaking.
This is how it looked before:
This is after my patch:
Also, I added that restriction of only showing the UI if in electron, which was missing.
However, trying the logic again I see an issue: it renames but still is using the old name at some point.
Renaming back to what it was originally also didn't work (didn't do the renaming back).
So I think this feature still needs some work and therefore it will be added for the next milestone.