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

[RFE] Add accessible namespaces option #679

Closed blobor closed 1 year ago

blobor commented 2 years ago

Current situation

If a user doesn't have permission to list namespaces but only has access to specific namespaces, he basically can't use Headlamp.

Ideal future situation

Headlamp could add an option for predefining "accessible namespaces" for a user via parameters (like env variables) or user/cluster settings (via user input before login).

image

Additional information

Similar behavior has a Lens tool. image

joaquimrocha commented 2 years ago

Thanks! This makes a lot of sense and we are planning on having a settings view in the next release if it all goes well (not sure if we can squeeze this feature in, but it'd be nice). It should also be set per cluster AFAIU, so we can have clusters with different permissions settings set up.

joaquimrocha commented 2 years ago

This depends on #16 .

joaquimrocha commented 2 years ago

Not making it to v0.13.0 yet. Let's plan it for later.

callmevladik commented 2 years ago

@joaquimrocha any details when it is planned for? 🙂

callmevladik commented 1 year ago

@joaquimrocha bump :)

joaquimrocha commented 1 year ago

This depends on the settings panel, which depends on the notifications view. We're aiming to have it in 0.14.0 but still have a few things in the pipeline before that.

ashu8912 commented 1 year ago

I Can pick this one

illume commented 1 year ago

@ashu8912, here's a few notes from our chat about this...