Skip to content

Operators should be reconciled on any CatalogSources change #205

Closed
@awgreene

Description

@awgreene

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions