contour icon indicating copy to clipboard operation
contour copied to clipboard

internal/contour: ingressroute/httpproxies outside --root-namespaces create empty route sets

Open davecheney opened this issue 5 years ago • 1 comments

#2106 suggested that in some cases an ingressroute/httpproxy outside the root namespace set could cause empty records to be created in RDS.

This behaviour is unexpected. I would expect that empty ingress_http and ingress_https records are either always present or only present when there are valid routes. The current logic appears to be that those route entries will appear, but empty.

I suspect this is due to the late filtering that internal/dag.Builder does to filter out empty virtual hosts. The filtering is incomplete and internal/contour.RouteVisitor is spotting that there are virtualhosts without routes and causing the lds tables to be populated. I'll look into this next.

davecheney avatar Jan 13 '20 07:01 davecheney

The Contour project currently lacks enough contributors to adequately respond to all Issues.

This bot triages Issues according to the following rules:

  • After 60d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, the Issue is closed

You can:

  • Mark this Issue as fresh by commenting
  • Close this Issue
  • Offer to help out with triage

Please send feedback to the #contour channel in the Kubernetes Slack

github-actions[bot] avatar Apr 17 '24 00:04 github-actions[bot]