MCO-2116: Generate OSImageStream manifest#10357
MCO-2116: Generate OSImageStream manifest#10357pablintino wants to merge 5 commits intoopenshift:mainfrom
Conversation
go get github.com/openshift/api@master
go mod tidy && go mod vendor
OpenShift API is now dividing feature gates by major version. This updates the installer code to work with the new changes, hardcoding the value to 4 as we do not have a design to dynamically determine versions.
Make calls to determine if a feature gate is enabled more concise by adding a dedicated helper function.
When the OSStreams feature gate is enabled and the user has selected an OS image stream, generate the OSImageStream CR in the openshift manifests so the cluster can boot with the desired stream. Signed-off-by: Pablo Rodriguez Nava <git@amail.pablintino.com>
|
@pablintino: This pull request references MCO-2116 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.22.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
Skipping CI for Draft Pull Request. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
When the
OSStreamsfeature gate is enabled and the user has selected an OS image stream, generate theOSImageStreamCR in the openshift manifests so the cluster can boot with the desired stream.