-
Notifications
You must be signed in to change notification settings - Fork 243
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 create: force s2i components and cleanup #3403
Comments
For this issue, I'll have to understand to flags in the cobra cli framework are implemented. After this the business logic should not be that hard to implement.
^This one looks like a quick win.
^For this point, a separate PR can be created I think. And ofcourse, the tests and docs will have to be added, modified and deleted (if applicable). |
…-min-cpu, --max-cpu flags from 'odo create' command (#3475) * removed --cpu, --max-cpu,--max-memory,--memory,--max-memory,--min-memory flags to simplify odo create command * add memory and cpu validation for 'config set' and 'push' commands * Corrected test cases
…mand (redhat-developer#3545) * added --s2i flag for `odo create` command * corrected error messages * Corrected flag description and validation * Modified a testcase for odo registry list
/kind user-story
User Story
As an odo v2 user, I want to be able to create old s2i builder image (LocalConfig) components so I can work as with odo v1.
Acceptance Criteria
odo create
command to create LocalConfig component even if it has the component type with the same name as devfile component. For example, using a new flag (odo create java --s2i
)odo create --s2i
should fail.odo create --help
)--s2i
the command should error out--cpu
,--max-cpu
,--max-memory
,--memory
,--max-memory
,--min-memory
flags to simplify odo create command. They were rarely used and the same can be achieved usingodo config
command after the component is created.Example:
component creation
example of help output
/kind user-story
/priority medium
The text was updated successfully, but these errors were encountered: