Using downstream oc doesn't work
e-minguez opened this issue · 1 comments
e-minguez commented
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 commented
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.