Route status conditions about detached parentRef #6905
Labels
kind/bug
Categorizes issue or PR as related to a bug.
lifecycle/needs-triage
Indicates that an issue needs to be triaged by a project contributor.
Situation
gateway1
andgateway2
.HttpRoute
calledhttproute1
with aparentRef
togateway1
.RefsResolved: True
will appear in the parent status associated withgateway1
.httproute1
'sparentRef
togateway2
.RefsResolved: True
will appear in the parent status associated withgateway2
.gateway1
does not disappear.What did you expect to happen:
Old condition to disappear.
Anything else you would like to add:
I believe the issue is with this (https://github.com/projectcontour/contour/blob/main/internal/status/routeconditions.go#L145) function, which seems to ignore other parent statuses. As a result, the parent status related to the non-existent parentRef persists indefinitely.
Environment:
contour 19.5.6
kubernetes client v1.27.3
kubernetes server v1.29.1
yandex.cloud
ubuntu
The text was updated successfully, but these errors were encountered: