-
Notifications
You must be signed in to change notification settings - Fork 599
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
Remove code TODO for "support all standard HTTPRouteRule Filters" #2793
Comments
@mlavacca, could you please split the core and extended filters into 2 separate issues, and add the core ones to Milestone 3 and the rest to Milestone 4? thx
|
For RequestRedirect, Kong routes do not have native configuration that will issue a redirect response. We furthermore do not have any plugin tailored for this purpose. There are two options to handle this currently:
Any code we write for the serverless option is effectively plugin code. Our eventual goal should be to have a plugin in Kong's default plugin set that can handle dynamic redirects (replacing only part of the request as described by https://gateway-api.sigs.k8s.io/guides/http-redirect-rewrite/#redirects). |
Given the note that the serverless plugin is a security risk, it would seem that is an option we shouldn't take at all. It would seem to me that if the second option is work-able for the current core requirements and conformance than we should start there and follow up with the "full" option described at the end. |
Is there an existing issue for this?
Problem Statement
In the context of the conformance tests, #2776 has introduced support for
HTTPRouteRule.Filters
of typeRequestHeaderModifier
. This has been achieved using arequest-modifier
kong plugin. SinceRequestHeaderModifier
is only one among the possible standardHTTPRouteRule.Filters
, we should support all of them.Proposed Solution
Implementation of filters handled in separate issues
RequestRedirect
to the proper Kong plugin #2799RequestMirror
andURLRewrite
#2800This issue is only to remove the code TODO as filter implementation is already accounted for on our roadmap.
Additional information
No response
Acceptance Criteria
The text was updated successfully, but these errors were encountered: