-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the condition's lastTransitionTime only if the condition statu…
…s changes. OCPBUGS-37491: Ingress operator status not degraded when canary route fails The fix involves recognizing when the condition status changes, and only updating the condition's transition time when this happens. * pkg/operator/controller/dns/controller.go - update logic for setting condition transition time. * pkg/operator/controller/ingress/status.go - update logic for setting condition transition time. * pkg/operator/controller/status/controller.go - update logic for setting condition transition time. * pkg/operator/controller/status/controller_test.go - test lastTransitionTime changes.
- Loading branch information
Showing
4 changed files
with
122 additions
and
31 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