harbur / kubernetic

Kubernetic - Supercharge your Kubernetes clusters
https://kubernetic.com
276 stars 26 forks source link

[Feature Request] Pinning Namespaces #350

Closed ghakobyan-sqsp closed 2 years ago

ghakobyan-sqsp commented 2 years ago

It would be convenient to pin down selected namespace, so it's possible to scroll via existing contexts and watch the state of namespace with the same name in each context.

dkapanidis commented 2 years ago

That's valid point.

Currently when switching context:

One way to cover this would be to change the functionality when no namespace is configured on a context to not switch to default, so if you wanted to pin the namespace you would simply use contexts without namespaces.

For those that want the old functionality they would configure their context with default namespace to automatically switch there.

Would that work for your use-case?

An alternative would be to enable/disable the auto-switch of namespace on preferences.

ghakobyan-sqsp commented 2 years ago

Yes, either of these will solve the problem.

dkapanidis commented 2 years ago

Done in 4.3.0

Namespace on dropdown can now be pinned and it will be unchanged when switching contexts.

2022-07-11 16 36 57