odo: context flag does not work with devfile url create
/kind bug
What versions of software are you using?
Operating System:
macOS
Output of odo version:
master
How did you run odo exactly?
$ odo project create test123
✓ Project 'test123' is ready for use
✓ New project created and now using project: test123
$ odo create nodejs --devfile devfiles/nodejs/devfile.yaml --project test123 --context devfiles/nodejs/
Experimental mode is enabled, use at your own risk
Validation
✓ Creating a devfile component from devfile path: /Users/amit/go/src/github.com/odo-devfiles/registry/devfiles/nodejs/devfile.yaml [999804ns]
✓ Validating devfile component [412213ns]
Please use `odo push` command to create the component with source deployed
$ odo url create --port 8080 --host ased.com --context devfiles/nodejs/ --ingress
✗ The current directory does not represent an odo component. Use 'odo create' to create component here or switch to directory with a component
$ ls -a devfiles/nodejs/
. .gitignore build devfile.yaml
.. .odo deploy meta.yaml
Actual behavior
$ odo url create --port 8080 --host ased.com --context devfiles/nodejs/ --ingress
✗ The current directory does not represent an odo component. Use 'odo create' to create component here or switch to directory with a component
Expected behavior
Should create the URL
Any logs, error output, etc?
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 17 (16 by maintainers)
Why should it do anything on the cluster? I though that was pushes jobS Someone is stealing jobs :p