-
Notifications
You must be signed in to change notification settings - Fork 244
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
"odo storage create" with "--app" and "--project" flags is broken #2203
Comments
IMO, @kadel unless I'm mistaken, |
You are right. The It would be a good idea to remove those flags, and just leave the |
/kind bug |
@kadel: The label(s) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@kadel You're right about the $ odo url create myurl --app nosuchapp --project nosuchproject
✓ URL myurl created for component: nodejs-nodejs-ex-vaiv
To create URL on the OpenShift Cluster, please use `odo push`
$ odo url list
Found the following URLs for component nodejs-nodejs-ex-vaiv in application app:
NAME STATE URL PORT
myurl Not Pushed :// 8080
There are local changes. Please run 'odo push'.
$ odo push
# push was successful and url got created for the component in pwd |
[kind/bug]
What versions of software are you using?
odo version
: masterHow did you run odo exactly?
Created storage with
--app
and--project
flags where the values of these flags were different from the values in component directory. Also, these values were invalid because theapp
andproject
with those names don't exist.Actual behavior
odo storage create
command reports no errorodo push
creates a storage for the componentExpected behavior
odo storage create
should report some error indicating that theapp
/project
are invalid. Creating theapp
/project
uponodo push
afterodo storage create
doesn't make sense because a storage is created for a component.The text was updated successfully, but these errors were encountered: