Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkg/operator/controller/status: AsExpected reason for Available and Progressing #404

Merged
merged 1 commit into from Jun 3, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions pkg/operator/controller/status/controller.go
Expand Up @@ -317,6 +317,7 @@ func computeOperatorProgressingCondition(allIngressesAvailable bool, oldVersions
progressingCondition.Reason = "Reconciling"
} else {
progressingCondition.Status = configv1.ConditionFalse
progressingCondition.Reason = "AsExpected"
}
progressingCondition.Message = ingressesEqualConditionMessage
if len(messages) > 0 {
Expand All @@ -334,6 +335,7 @@ func computeOperatorAvailableCondition(allIngressesAvailable bool) configv1.Clus

if allIngressesAvailable {
availableCondition.Status = configv1.ConditionTrue
availableCondition.Reason = "AsExpected"
availableCondition.Message = ingressesEqualConditionMessage
} else {
availableCondition.Status = configv1.ConditionFalse
Expand Down