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

Route status conditions about detached parentRef #6905

Open
Vaniog opened this issue Feb 19, 2025 · 1 comment
Open

Route status conditions about detached parentRef #6905

Vaniog opened this issue Feb 19, 2025 · 1 comment
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.

Comments

@Vaniog
Copy link

Vaniog commented Feb 19, 2025

Situation

  • Create two valid gateways: gateway1 and gateway2.
  • Create a valid HttpRoute called httproute1 with a parentRef to gateway1.
  • A condition RefsResolved: True will appear in the parent status associated with gateway1.
  • Change the httproute1's parentRef to gateway2.
  • A condition RefsResolved: True will appear in the parent status associated with gateway2.
  • The condition related to 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

@Vaniog Vaniog added 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. labels Feb 19, 2025
Copy link

Hey @Vaniog! Thanks for opening your first issue. We appreciate your contribution and welcome you to our community! We are glad to have you here and to have your input on Contour. You can also join us on our mailing list and in our channel in the Kubernetes Slack Workspace

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

1 participant