-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't automatically create namespace if it does not exist #28
Comments
As part of this fix, Paralus will not create a namespace if it does not exists whenever a namespaced role is associated to any user. It is the responsibility of the admin to ensure a valid existant namespace is provided during role association. User will see below error messsage while trying to access details from a namespace that does not exist in target cluster
|
@niravparikh05 Adding needs-triage label to this issue. Please confirm if it is already triaged and good to be work on. |
I have verified this issue on my side. Attaching recording that shows namespace (named Screencast.from.01-04-23.07.21.58.PM.IST.webmAs per design, Paralus is creating role and rolebinding in the namespace based on user permissions.
|
Briefly describe the feature
As of now, if the user selects a namespace when specifying a project-user-role mapping which does not exist, we create the namespace on the first use. This is done as we rely on the namespace being available to generate SA and other necessary resources, but it would be better to not create the namespace and just return with error/empty if they try to access it.
What problem does this feature solve? Please link any relevant documentation or Issues
Make the behavior of missing namespaces more to what people might expect out of the box.
(optional) What is your current workaround?
-
The text was updated successfully, but these errors were encountered: