-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the ReadyCondition for GlanceAPI and mirror to the top level CR
This patch updates the Ready condition by removing it from the defer function and put it at the end of the reconcile loop. In addition, before marking the GlanceAPI Deployment Ready, it checks that the number of replicas is equals to the ReadyCount. If the deployment is still in progress, of this condition is not met, it's mirrored to the top-level CR that shows at which point the Deployment is blocked. Signed-off-by: Francesco Pantano <fpantano@redhat.com>
- Loading branch information
Showing
4 changed files
with
49 additions
and
26 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 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