Skip to content
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

Accept a --run-on flag #6185

Closed
Tracked by #5871
feloy opened this issue Oct 3, 2022 · 0 comments · Fixed by #6187
Closed
Tracked by #5871

Accept a --run-on flag #6185

feloy opened this issue Oct 3, 2022 · 0 comments · Fixed by #6187
Assignees
Labels
kind/feature Categorizes issue as a feature request. For PRs, that means that the PR is the implementation
Milestone

Comments

@feloy
Copy link
Contributor

feloy commented Oct 3, 2022

/kind feature

Which functionality do you think we should add?

odo should accept a run-on flag generically, in the same way it accepts a -o flag.

The value of the flag can be either cluster or podman

The value of the flag should be passed in the ctx received by Run (and make Complete and Validate receive this ctx too).

Why is this needed?

The generic code (genericlioptions.GenericRun) needs to know the targeted platform to inject the correct package (podman of kubernetes) during dependency injection.

Part of #6151

@openshift-ci openshift-ci bot added the kind/feature Categorizes issue as a feature request. For PRs, that means that the PR is the implementation label Oct 3, 2022
@feloy feloy self-assigned this Oct 3, 2022
@feloy feloy added this to odo v3.0.0 Oct 3, 2022
@feloy feloy moved this to For Review in odo v3.0.0 Oct 3, 2022
@rm3l rm3l added this to the v3.1.0 🚀 milestone Oct 3, 2022
@rm3l rm3l added this to odo Project Oct 3, 2022
@rm3l rm3l moved this to In Review 👀 in odo Project Oct 3, 2022
Repository owner moved this from In Review 👀 to Done ✅ in odo Project Oct 6, 2022
Repository owner moved this from For Review to Done in odo v3.0.0 Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue as a feature request. For PRs, that means that the PR is the implementation
Projects
Archived in project
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants