headlamp
headlamp copied to clipboard
frontend: filter list views by default namespace
This issue fixes #750 by allowing to filter cluster resources on the backend by using a globally defined default namespace.
It currently works with one namespace at a time, as that's what the Kubernetes API allows. If we want to support multiple namespaces, extra requests would be needed for each one.
Thanks to that we can limit results from API and reduce response size.
How to test:
- Define default namespace in settings.
- Check e.g. workloads -> pods whether results are filtered to a given namespace.