-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
The default workspaces namespace/project should be <username>-che
#14795
Comments
There is no guarantee that it would be fixed for 7.3. We are investigating pitfalls to understand what would be the target release. |
@sleshchenko @skabashnyuk this flow looks complicated and involves some extra calls to the k8s API during workspaces creations that I would like to avoid. What about:
By the way I don't consider that a blocker for 7.3 or CRW 2.0 hence let's consider all the pros and cons and make the right choice. |
can we override the prefix/suffix? might want crw-* or *-crw instead of che. Because, ya know, branding reasons. :) |
Note that this has been worked on in PR #14828. |
The most of the needed changes are done (che server, helm charts) but this issue is not closed because of che-operator side changes eclipse-che/che-operator#92 This issue is marked as blocked and the remaining work (merge che-operator PR) will be done after CRW2.0 is released. |
Is your task related to a problem? Please describe.
The default workspaces namespace/project should be
<username>-che
Describe the solution you'd like
We do not store any info about existing workspaces' namespaces and reconfiguring this value means that every existing workspace would lose their data - it's why we are not able just to change the default value.
Here is a plan of how we could change the default workflow without losing datas for existing workspaces:
che.infra.kubernetes.namespace.default
with default value<username>-che
. It will be reused for a user's ability to specify any available namespace later.che.infra.kubernetes.namespace
but the value MUST NOT BE updated or removed.- yes (stored): use it for workspace start;
- no (is absent): checks if namespace with
che.infra.kubernetes.namespace
exist:workspacefh3642
if workspace was created before our changesche.infra.kubernetes.namespace.default
into the workspace and use it for workspace start. Default value is<username>-che
;The text was updated successfully, but these errors were encountered: