Stefan Prodan
282f2b36f0
Preserve HTTPRoute annotations injected by AWS Gateway API
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2024-12-16 16:35:41 +02:00
Sanskar Jaiswal
4c0a26b675
gatewayapi: return early after creating new http routes
...
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com >
2024-11-24 19:04:27 +05:30
Mingjie Li
b88e080a66
add test back and use slices.SortFunc
...
Signed-off-by: Mingjie Li <mli@liveperson.com >
2024-10-26 16:50:51 +02:00
Mingjie Li
9941843385
fix #1712 : sort gateway api header fileter to fix canary restart
...
Signed-off-by: Mingjie Li <mli@liveperson.com >
2024-10-26 16:50:51 +02:00
Benoit Gaillard
217db66a5e
make flagger use apiversion v1beta1 for istio VirtualService and DestinationRule instead of v1alpha1
...
Signed-off-by: Benoit Gaillard <benoit.gaillard@continental-corporation.com >
2024-02-28 15:09:40 +01:00
Sanskar Jaiswal
dc6dd0661a
gatewayapi: add support for b/g mirroring
...
Add support for mirroring requests while performing B/G deployments with
Gateway API. A `RequestMirror` filter pointing to the canary service is
added to the HTTPRoute during a Canary run. During the Canary run, drift
correction for `.spec.rules[].filters` is disabled to avoid removing the
mirror filter.
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com >
2023-10-03 14:41:37 +05:30
Sanskar Jaiswal
c0e2096f92
gatewayapi: add support for route rule filters
...
Add support for [`Filters`](https://gateway-api.sigs.k8s.io/references/spec/#gateway.networking.k8s.io/v1beta1.HTTPRouteFilter )
in the HTTPRoute API. We reuse most of the existing fields used for
Istio to construct the appopriate filter. A new API
`.spec.service.mirror` is added to allow for request mirroring. The
`.spec.service.rewrite` API has been changed to a custom `HTTPRewrite`
API instead of importing it from Istio, to allow covering all features
that Gateway API provides.
Support for the [`RequestRedirect`](https://gateway-api.sigs.k8s.io/references/spec/#gateway.networking.k8s.io/v1beta1.HTTPRequestRedirectFilter )
Filter has been left out on purpose, since it's not possible to specify
it if the same rule also specifies `.backendRefs` (which Flagger does).
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com >
2023-09-22 16:10:09 +05:30
Sanskar Jaiswal
00fcf991a6
gatewayapi: add support for session affinity
...
Add support for Canary releases with session affinity for Gateway API.
This enables any Gateway API implementation that supports
[`ResponseHeaderModifier`](https://github.com/kubernetes-sigs/gateway-api/blob/3d22aa5a08413222cb79e6b2e245870360434614/apis/v1beta1/httproute_types.go#L651 )
to be used with session affinity.
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com >
2023-09-11 13:57:23 +05:30
jonny.langefeld
e8aba087ac
Enable updates for labels and annotations
...
Fix #1386
Signed-off-by: jonny.langefeld <jonnylangefeld@gmail.com >
Signed-off-by: Jonny Langefeld <jonnylangefeld@gmail.com >
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com >
2023-04-12 16:04:28 +05:30
Christoph Grotz
e015a409fe
Added support for Gateway API v1beta1
...
Signed-off-by: Christoph Grotz <grotz@google.com >
2022-11-22 15:51:16 +01:00