-
Notifications
You must be signed in to change notification settings - Fork 169
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
Set OpenShift 4.11 as the default install version #3036
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems straightforward and E2E passed on PR.
// DefaultMinorVersion describes the minor OpenShift version to default to | ||
var DefaultMinorVersion = 11 | ||
|
||
// DefaultInstallStreams describes the latest version of our supported streams | ||
var DefaultInstallStreams = map[int]*Stream{ | ||
10: { | ||
Version: NewVersion(4, 10, 63), | ||
PullSpec: "quay.io/openshift-release-dev/ocp-release@sha256:340091aefa0bba06bbb99cc58cb1f2b73404c832f72b83c526b8e7677efbecef", | ||
}, | ||
11: { | ||
Version: NewVersion(4, 11, 44), | ||
PullSpec: "quay.io/openshift-release-dev/ocp-release@sha256:52cbfbbeb9cc03b49c2788ac7333e63d3dae14673e01a9d8e59270f3a8390ed3", | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know this is already merged, but why add the 4.10 stuff to a DefaultInstallStreams
struct if we're not setting 4.10 as a default anymore?
We can't pass in "4.10" as an install version and it picks the version above.
This block of code might confuse other team members (it confused me)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bennerv I've done it like this because the discoverycache right now is 4.10 and so I want what the default install stream for 4.10 used to be. Maybe it doesn't make as much sense because you can't ask for "4.10" and get anything. (should we have that, maybe?)
Which issue this PR addresses:
Fixes https://issues.redhat.com/browse/ARO-3675
What this PR does / why we need it:
Changes the default install version to 4.11, updates the PR E2E to do so, and doesn't error on the discoverycache being generated in 4.10.
Test plan for issue:
E2E
Is there any documentation that needs to be updated for this PR?
Don't think so?