-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
controller: update condition reason when upgrade job crashes
the current code will only update the condition reason when the job fails, but if the job crashes the reconcile loop will stay stuck in the migration in progress state and never recreate the upgrade job. this fixes the problem by always updating the condition reason to migrations failed after having checked that the job is neither active nor succeeded. relates to PROJQUAY-1812
- Loading branch information
1 parent
550912e
commit 4351f02
Showing
1 changed file
with
24 additions
and
22 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