Avoid automatic creation of users namespaces through a configuration option #21582
Closed
Labels
area/che-operator
Issues and PRs related to Eclipse Che Kubernetes Operator
area/dashboard
kind/enhancement
A feature request - must adhere to the feature request template.
new¬eworthy
For new and/or noteworthy issues that deserve a blog post, new docs, or emphasis in release notes
severity/P1
Has a major impact to usage or development of the system.
Milestone
Is your enhancement related to a problem? Please describe
In some cases administrators want to pre-create their namespaces and don't want to have Eclispe Che to automatically create them.
Describe the solution you'd like
Add a new property in CheCluster CR:
spec: components containerRegistry devEnvironments: defaultNamespace: + autoProvision: true # <= true by default template networking
If
spec.devEnvironments.defaultNamespace.disabled: true
then Eclispe Che should not create namespaces if it doesn't exist. Eclispe Che should fail to start the workspace if the namespace doesn't exist:Current workaround
To disable the automatic creation of users namespaces:
Release Notes Text
A new field in
CheCluster
has been added to avoid that users namespaces get created automatically. IfdevEnvironments.defaultNamespace.autoProvision
is set to false and a user doesn't have a Che namespace, workspace creation will fail.autoProvision
is set totrue
by default.The text was updated successfully, but these errors were encountered: