Prevent incompatible operators from being resolved (injection variant)#193
Prevent incompatible operators from being resolved (injection variant)#193njhale wants to merge 3 commits intoopenshift:masterfrom
Conversation
Factor the content of main() into an exported function in a separate package so that it can be invoked externally.
Add an exported function that allows system-wide constraints -- i.e constraints used by all solvers -- to be injected.
Add a downstream-only catalog operator command that injects a dependency resolution system-constraint prohibiting operators incompatible with a cluster's Y-stream release from being installed.
|
Skipping CI for Draft Pull Request. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: njhale The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/test all |
|
@njhale: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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 kubernetes/test-infra repository. I understand the commands that are listed here. |
|
the team decided to go with the hardcoded approach |
One of two ways to implement downstream-only constraints.
Add a downstream-only catalog operator command that injects a dependency resolution system-constraint prohibiting operators incompatible with a cluster's Y-stream release from being installed.
Implementation Pros:
/stagingCons: