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

Option to pass Cluster Settings via Config for user Groups #1962

Closed derbauer97 closed 2 weeks ago

derbauer97 commented 5 months ago

Hello! We're delighted users of Headlamp!

Our objective is to provide users with the capability to view their Resource Status and Definitions without necessitating the development of a custom UI. It's important to note that our users possess restricted access limited to their respective Namespace.

We've been actively utilizing Custom Resources, and to facilitate their access via Headlamp while maintaining restricted permissions, we need to configure the namespace within the cluster settings under allowed Namespaces otherwise if not possible it would be greate to have an option to filter namespaces in the CustomResource Overview like it is possible with Workloads.

I found this issue which i can confirm is fixed and described a similar problem: https://github.com/headlamp-k8s/headlamp/issues/1553

joaquimrocha commented 5 months ago

Hello! We're delighted users of Headlamp!

Nice! Happy to meet you!

Our objective is to provide users with the capability to view their Resource Status and Definitions without necessitating the development of a custom UI. It's important to note that our users possess restricted access limited to their respective Namespace.

Just slightly related, but we are improving how users get aware that they need to configure the list of "allowed" namespaces if they don't have permissions to list all namespaces.

We've been actively utilizing Custom Resources, and to facilitate their access via Headlamp while maintaining restricted permissions, we need to configure the namespace within the cluster settings under allowed Namespaces otherwise if not possible it would be greate to have an option to filter namespaces in the CustomResource Overview like it is possible with Workloads.

Yeah. I think that makes sense. We will get to it.

I found this issue which i can confirm is fixed and described a similar problem: #1553

Thank you. I will close it.

Guilamb commented 2 months ago

I was having the same issue, so I've made a pull request #2226 that adds a new page that displays the CRs and enables Namespace filtering, in order to maintain the namespace flow as in the workloads.

I hope this helps. If you have any suggestions or improvements, please feel free to mention me or send me a message on Slack. 😄