-
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
Instantiate an operator backed service using yaml file #2723
Comments
What will be the command? |
#2810 addresses the first part of this issue's acceptance criteria. |
@kadel I'm thinking of making user specify the operator name and crd name as is the case right now, and specify file name after that. Something like:
This long command will help us do some validation so that a user doesn't erroneously or purposefully try to create something else by doing What do you think about this approach? |
Not sure about that. The commands above looks way too long and complicated :-( It is also full of duplicate values, everything that is specified is also in the yaml file :-( We can still do some validation even without forcing users to provide duplicated parameters. Would it be possible to simply parse the yaml file, get |
Yes. That sounds doable. Agree with your points about long and complicated. Let's go with it. Just one clarification however. The |
User Story
As a user I want to edit the example (
alm-example
) used to spin up an operator backed service. This is required because:alm-examples
used by odo to spin up an operator backed service are not always 100% functional in that, they contain template data which can't actually spin up a service.Acceptance Criteria
odo must add a flag (eg:
--dry-run
) which would show the example that will eventually be used to spin up the service. (Print yaml definition of CR when asked for dry-run #2810)user should be able to provide a yaml file similar to aforementioned example that can then be used to spin up the service.
This will be similar to
oc create -f example.yaml
Links
odo should create a new instance of an operator in my project using odo service create command
)/kind user-story
The text was updated successfully, but these errors were encountered: