You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe the impact that the lack of the feature requested is creating.
We allow to apply resources from the UI using the Create button from within the cluster view. It would be nice if we could specify which namespace to set the new resources in. This would affect only resources that don't have a namespace set (which will pick the default one in this case), so this can be seen as overriding the default namespace.
Describe the solution you'd like
There should be a Default Namespace: [ my-namespace ] picker (with autocomplete) in the create dialog.
This autocomplete points to the currently set default namespace for the current cluster. If none is specified, try to use one called default, if no default is set and no default namespace exists, just do not use this feature and show a warning icon next to it which on hover tells the user that there's no default branch.
If the user writes a namespace that doesn't exist, we should just an info icon which on hover tells the user that this namespace will be created. In this case, the namespace is created before applying the resources.
What users will benefit from this feature?
Every one willing to apply new resources but forgot to create a new namespace. Or are used to the -n option of kubectl when applying.
Additional context
Design to be added later.
The text was updated successfully, but these errors were encountered:
@joaquimrocha what should be the behavior if the user specifies a namespace in the YAML manifest itself? that should take precedence over this feature right?
Is your feature request related to a problem? Please describe the impact that the lack of the feature requested is creating.
We allow to apply resources from the UI using the Create button from within the cluster view. It would be nice if we could specify which namespace to set the new resources in. This would affect only resources that don't have a namespace set (which will pick the default one in this case), so this can be seen as overriding the default namespace.
Describe the solution you'd like
There should be a
Default Namespace: [ my-namespace ]
picker (with autocomplete) in the create dialog.This autocomplete points to the currently set default namespace for the current cluster. If none is specified, try to use one called
default
, if no default is set and nodefault
namespace exists, just do not use this feature and show a warning icon next to it which on hover tells the user that there's no default branch.If the user writes a namespace that doesn't exist, we should just an info icon which on hover tells the user that this namespace will be created. In this case, the namespace is created before applying the resources.
What users will benefit from this feature?
Every one willing to apply new resources but forgot to create a new namespace. Or are used to the
-n
option ofkubectl
when applying.Additional context
Design to be added later.
The text was updated successfully, but these errors were encountered: