-
Notifications
You must be signed in to change notification settings - Fork 545
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
packagemanifests: do not list deprecated channel entries #2905
packagemanifests: do not list deprecated channel entries #2905
Conversation
8bc974b
to
deaca43
Compare
Signed-off-by: Joe Lanford <[email protected]>
deaca43
to
d69c934
Compare
I see good handling for olm.deprecated property in the code, but I don't see deprecation markers in the unit test. I just see a new v0.6.0 of the etcd op. Am I missing something? |
@grokspawn This bit of added code ensures the 0.6.0 bundle is deprecated: https://github.com/joelanford/operator-lifecycle-manager/blob/d69c934f4e47429ee25b837edc2541a96a428e3e/pkg/package-server/provider/registry_test.go#L68-L72 |
/approve |
Would this be considered a change of behavior and subsequently require a version bump? /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: exdx, grokspawn, joelanford The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
I don't think so. In this same version timeframe we exposed the channel edges in this API and then restricted the edges we would expose. |
Description of the change:
Ignore bundles with property
olm.deprecated
when listing channel entries in the packagemanifests API.Motivation for the change:
Follow up to #2893, which added the channel entry listing to the packagemanifests API. This is necessary to avoid misleading users about the set of bundles that available to install.
Architectural changes:
Testing remarks:
Reviewer Checklist
/doc
[FLAKE]
are truly flaky and have an issue