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

Support invalid HTTPRoute status #10714

Merged
merged 2 commits into from
May 22, 2024

Conversation

kevinpollet
Copy link
Member

@kevinpollet kevinpollet commented May 13, 2024

What does this PR do?

This pull request enhances the HTTPRoute status support, by returning an invalid status in some cases.

Note that we have added a hidden Status field in the WRRService configuration to be able to return 500 error when something is wrong while loading a BackendRef.

Motivation

To enhance the HTTPRoute status support.

Fixes #9158

More

  • Added/updated tests
  • Added/updated documentation

Additional Notes

Co-authored-by: Romain rtribotte@users.noreply.github.com

Copy link
Contributor

@lbenguigui lbenguigui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@nmengin nmengin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🎉

@traefiker traefiker merged commit 0e215f9 into traefik:master May 22, 2024
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Traefik (Gateway API) breaks if a route points to a missing service (as seen with cert-manager)
5 participants