deploy_che.sh deletes project by default
See original GitHub issueDescription
Why on earth is CHE_REMOVE_PROJECT=true
the default in createNewProject()
@eivantsov? No harm done here, but that’s really going to bite someone.
Pretty shocking first experience following the docs.
Reproduction Steps
> ./deploy_che.sh --multiuser --project=project-that-exists
[INFO]: Local templates directory not found. Downloading templates...
[INFO]: Checking if you are currently logged in...
[INFO]: Active session found. Your current context is: project-that-exists/redacted:8443/username
[WARNING]: Namespace "project-that-exists" exists.
[INFO]: Removing namespace project-that-exists ^C
😿 api call already sent before a ^C
could stop the script
OS and version:
oc version
oc v3.11.0+0cbc58b
kubernetes v1.11.0+d4cacc0
features: Basic-Auth
Server https://redacted:8443
openshift v3.11.59
kubernetes v1.11.0+d4cacc0
Diagnostics: Whoops…all gone.
Issue Analytics
- State:
- Created 4 years ago
- Comments:15 (8 by maintainers)
Top Results From Across the Web
How to reset a project's code and data - Platform.sh Community
You will need: A working Platform.sh project; Administrator access to it; Git and SSH configured and accessible; Your default/production git ...
Read more >che-devfile-registry/README.md at main · eclipse ... - GitHub
This repository contains a build.sh script at its root that can be used to build the ... You can deploy Che devfile registry...
Read more >Installation Guide Red Hat CodeReady Workspaces 2.7
A default deployment of CodeReady Workspaces consist in the application of a parametrized ... or an OpenShift project, which differs from the default....
Read more >deploy/openshift/ocp.sh ... - GitLab
Example: --project=myproject --secure | -s - Deploy Che with SSL enabled ... default: host ip OC_PUBLIC_IP - set ocp hostname for routing suffix,...
Read more >eclipse/che-machine-exec - Docker Image
Move to the ocp.sh script: cd ~/projects/che/deploy/openshift/. Run ocp.sh with arguments: ./ocp.sh --run-ocp --deploy-che --no-pull --debug ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@skabashnyuk Per the bug filed, that’s exactly what I saw. This is terrible behaviour. DO NOT DELETE WITHOUT CONFIRMATION. The point of this bug is that “expected” behaviour is deeply and seriously flawed. I’m not trying to be an ass here; you are setting people up for irrecoverable data loss and you must change this default.
What are we trying to achieve here? Me as a developer I’m quite happy with
deploy_che.sh
deleting the prior deployment by default.