-
Notifications
You must be signed in to change notification settings - Fork 150
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
Simple implementation of control naming of namespaces #34
Comments
@gabrilabs75 thanks for submitting this request. A control on the naming convention may have sense since it is likely that different tenant owners want to call their namespaces "production", "test", and "development". Another viable solution is just instruct Capsule to deny the namespace creation if the name is not in the form of "tenantname"-"namespace" leaving the tenant owner to implement the naming convention himself. Also I think this should be a configurable option in Capsule since this policy may be useful in some environments and too much annoying in other environments. |
I guess this should be the preferred implementation, maybe providing a simple boolean flag to the CLI as tl;dr; with WDYT @gabrilabs75? |
@prometherion it seems to be perfect for our scope... |
Describe the feature
We may need a simple implementation of control naming of namespaces.
Currently during creation of a new namespace by tenant-owner we receive an error message from k8s if the name of our selected namespace is already used by another tenant.
For example:
What would the new user story look like?
Tenant owner creates a new Namespace (eg. production like the example above)
Capsule creates the new namespace having the name "tenantname-production" where the "tenantname" is the name of the tenant and "production" is the name of the namespace.
This is going to be attached to the Tenant
All the magic happens in the background
The text was updated successfully, but these errors were encountered: