-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cvo: set ResourceReconciliationIssues condition
When an appropriate feature flag is set, maintain a `ResourceReconciliationIssues` condition on the CV status. This condition is False when no issues were encountered (signalled by the `Failure` field on the `SyncWorkerStatus` parameter) and True otherwise.
- Loading branch information
1 parent
80004b0
commit 9b2c690
Showing
3 changed files
with
98 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package cvo | ||
|
||
import v1 "github.com/openshift/api/config/v1" | ||
|
||
const ( | ||
resourceReconciliationIssuesConditionType v1.ClusterStatusConditionType = "ResourceReconciliationIssues" | ||
|
||
noResourceReconciliationIssuesReason string = "NoIssues" | ||
noResourceReconciliationIssuesMessage string = "No issues found during resource reconciliation" | ||
|
||
resourceReconciliationIssuesFoundReason string = "IssuesFound" | ||
resourceReconciliationIssuesFoundMessage string = "Issues found during resource reconciliation" | ||
) |
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