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

Older oc versions didnt support API negotiation #1134

Merged
merged 1 commit into from
Nov 4, 2015

Conversation

fabianofranz
Copy link
Member

@liggitt This fixes openshift/origin#5254. I checked that recent versions do api negotiation correctly. So any other topics we could add this warning, or is it good enough?

@@ -64,6 +64,13 @@ No events.
----
====

[WARNING]
====
Older versions of `oc` didn't have the ability to negotiate API versions against a server. So if you are using `oc` prior
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Versions of oc prior to 1.0.5 did not have the ability to negotiate API versions...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed, thanks.

@fabianofranz
Copy link
Member Author

Anything else here?

@@ -64,6 +64,13 @@ No events.
----
====

[WARNING]
====
Versions of oc prior to 1.0.5 did not have the ability to negotiate API versions against a server. So if you are using `oc` up
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The first oc can be marked up with backticks.

@adellape
Copy link
Contributor

adellape commented Nov 3, 2015

@fabianofranz This will need to be conditionalized for Origin vs OSE since the version numbers are different.

$ oc version
oc v3.0.2.904

@fabianofranz
Copy link
Member Author

@adellape good catch, do we have any example of something like that in openshift-docs?

@adellape
Copy link
Contributor

adellape commented Nov 3, 2015

@fabianofranz Yeah, sorry, I should have linked! Lot of use in this one, for example:

https://raw.githubusercontent.com/openshift/openshift-docs/master/install_config/upgrades.adoc

@fabianofranz
Copy link
Member Author

@adellape Should be fixed, PTAL.

@adellape
Copy link
Contributor

adellape commented Nov 3, 2015

👍

@adellape adellape added this to the OSE 3.0.z milestone Nov 3, 2015
adellape added a commit that referenced this pull request Nov 4, 2015
Older oc versions didnt support API negotiation
@adellape adellape merged commit 5f0e116 into openshift:master Nov 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

oc <= 1.0.4 defaults to v1beta3
3 participants