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

Using downstream oc doesn't work #9

Closed
e-minguez opened this issue Oct 4, 2016 · 1 comment
Closed

Using downstream oc doesn't work #9

e-minguez opened this issue Oct 4, 2016 · 1 comment

Comments

@e-minguez
Copy link

Related to this issue https://bugzilla.redhat.com/show_bug.cgi?id=1380555
Also, it would be nice to have some kind of flag to use the downstream or the upstream oc binary in order to create OCP/Origin clusters.

@bjartek
Copy link
Contributor

bjartek commented Oct 5, 2016

What if we define an env var
OC=$(which oc)

And then in the code use it like this
$OC cluster up

Then you could call the oc-cluster wrapper like this in order to use downstream oc
OC=/path/to/downstream/oc oc-cluster example up

Would that work? Not the maintainer here, just though of a possible sollution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants