-
Notifications
You must be signed in to change notification settings - Fork 545
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(sub): Include IP failure condition message in sub status condition
Currently when an InstallPlan fails, due to bundle unpacking error is pending due to errors like invalid operatorgroup, or pending bundle unpacking job the reason is propagated to the Subscription that owns it. The message for the failure is however missing from the Subscription condition. eg ``` kind: Subscription status: conditions: - lastTransitionTime: "2021-07-07T17:55:20Z" reason: Installing status: "True" type: InstallPlanPending ``` This PR propagates the message assosiated with the reason in the InstallPlan condition when an InstallPlan is either pending, or has failed permanantly. eg ``` kind: Subscription status: conditions: - lastTransitionTime: "2021-07-07T17:55:20Z" message: no operator group found that is managing this namespace reason: Installing status: "True" type: InstallPlanPending ``` Signed-off-by: Anik Bhattacharjee <anikbhattacharya93@gmail.com>
- Loading branch information
Showing
2 changed files
with
41 additions
and
3 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