-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable status reporting for CatalogSource in OperatorPolicy
Following the schema of implementing multiple `handle` functions, the CatalogSource status reporting logic utilizes the same `updateStatus` function to facilitate the `conditions` and `relatedObject` field updates on the related OperatorPolicy. The controller reads the conditions field on the watched Subscription to determine the health of the CatalogSource. In the event a Subscription is not created due to either an `inform` OperatorPolicy or an error, the controller directly checks if the CatalogSource object exists on the cluster to propagate relevant health information up to the OperatorPolicy. ref: https://issues.redhat.com/browse/ACM-9285 Signed-off-by: Jason Zhang <jaszhang@redhat.com>
- Loading branch information
Showing
4 changed files
with
265 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.