-
Notifications
You must be signed in to change notification settings - Fork 676
Warn when creating resources outside of filtered namespace #5015
Description
Is your feature request related to a problem? Please describe the impact that the lack of the feature requested is creating.
When a namespace filter is applied, it's easy to create resources that are in a different namespace and then be confused when you can't see them once created. Simple example: you're viewing pods with a filter of namespace kube-system then create a pod and forget to specify a namespace. Once created you can't see it, because it's been created in the default namespace, but Headlamp is currently filtered on kube-system.
Describe the solution you'd like
When a namespace filter is enabled when viewing resources, creation of resources (using +) should warn if creating a resources in a different namespace to the current filter.
What users will benefit from this feature?
Any users that creates resources using Headlamp and uses namespace filters - will avoid potential confusion and mistakes - generally if you've filtered by a namespace, you probably want to create the resource there too.
Are you able to implement this feature?
No