vscode-openshift-tools
vscode-openshift-tools copied to clipboard
Component push fails if running in default project
When creating a new component from DefaultDevfileRegistry, the component gets created in default project. When we try to push the component, odo push fails and complains that it cannot run on a default project.
This will break the user experience. We need to ask for project name too when creating the component.
Steps to Reproduce:
- Create Component from DefaultDevfileRegistry
- Select any registry, here I had nodejs-react-starter
- Once the component is created, user runs Push command
- odo fails with the following error:
✗ odo may not work as expected in the default project, please run the odo component in a non-default project
@mohitsuman we cannot really do anything about it. I'd say if message form odo states that default project cannot be used then I would close this issue.
The push workflow is changed. Hence closing this issue.