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

Operators should be reconciled on any CatalogSources change #205

Closed
awgreene opened this issue May 9, 2023 · 1 comment
Closed

Operators should be reconciled on any CatalogSources change #205

awgreene opened this issue May 9, 2023 · 1 comment
Assignees
Milestone

Comments

@awgreene
Copy link
Member

awgreene commented May 9, 2023

Background:

When reconciling operator CRs, the operator-controller builds a list of constraints based on operator CRs and attempts to solve those constraints by considering content available in catalogSources. If the content within a catalogSource changes, a new solution may be available for a set of constraints that had failed earlier.

The operator controller should be updated to watch catalogSources. On changes that affect the catalogContent, the operator controller should queue all operator CRs to be reconciled. For the purposes of this ticket, we will queue all operator CRs for any catalog event, even if content might not have changed.

Demo Script:

install OLM V1
Remove the default catalogSource
Create an Operator CR that exists in the catalog
Check that it fails
Recreate the default catalogSource
Check that the package defined in the operator CR is deployed

@tmshort tmshort changed the title Operators should be reconciled when CatalogSources change Operators should be reconciled on any CatalogSources change May 10, 2023
@awgreene awgreene added this to the v0.2.0 milestone May 23, 2023
@joelanford joelanford modified the milestones: v0.2.0, v0.3.0 May 30, 2023
@awgreene
Copy link
Member Author

awgreene commented Jun 13, 2023

Demoed in the June 13th, 2023 Working Group and Issue Triage Meeting, viewable here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

3 participants