Add Istio RouteRule HTTPRewrite#1002
Conversation
Istio RouteRules are capable of rewriting HTTP traffic. Adding the HTTPRewrite struct to the RouteRule type. Refs https://istio.io/docs/reference/config/istio.routing.v1alpha1.html#HTTPRewrite
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: scothis Assign the PR to them by writing The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@scothis: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
|
Just curious, what is the use case of having HttpWrite in Elafros? |
|
@ZhiminXiang working on a spike for a Stream CRD in the eventing repo. In the model, a Stream creates a k8s Service which is backed by a Broker, using RouteRules to forward traffic for the stream to the broker. The request authority is rewritten so that the broker can distinguish the stream originating the request. https://github.com/elafros/eventing/pull/66/files#diff-f38337f075ab108b26aa2eebca7b01b5R553 |
akyyy
left a comment
There was a problem hiding this comment.
It would be helpful to add a sample usage in comments.
https://github.com/scothis/elafros/blob/3ad79934f91eec90958a9094d6b59bc55a9fdf63/pkg/apis/istio/v1alpha2/routerule_types.go#L37
|
I'll pick up the capability with the istio v1alpha3 bump |
…nces/release-v1.16 Update Konflux references (release-v1.16)
Istio RouteRules are capable of rewriting HTTP traffic.
Refs https://istio.io/docs/reference/config/istio.routing.v1alpha1.html#HTTPRewrite
Proposed Changes
Release Note