Steven Davidovitz
bb7ad65462
fix: gateway router should wait for accepted condition
...
It can take some time for changes to propagate for cloud load balancers,
so flagger should ensure the route changes are current before proceeding
with any more.
Signed-off-by: Steven Davidovitz <sdavidovitz@groq.com >
2025-10-15 17:27:12 -07:00
Stefan Prodan
c30e6552d7
Add support for setting traffic distribution
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2025-10-15 16:57:06 +03:00
Stefan Prodan
6031abc3a9
Add support for CORS policy to Gateway API
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2025-10-15 16:43:39 +03:00
Stefan Prodan
3d99d2fddd
Merge pull request #1823 from briansonnenberg/main
...
Add `unmanagedMetadata` to canary service specification
2025-10-15 09:52:08 +03:00
Brian Sonnenberg
ea219506a5
Added a new field to canary spec to specify unmanaged metadata
...
These are labels and annotations that should be ignored by Flagger
(i.e. not overwritten upon reconciliation).
See: github.com/fluxcd/flagger/issues/1573
Signed-off-by: Brian Sonnenberg <bsonnenberg@google.com >
2025-10-14 21:18:47 +00:00
Renato Vassão
278e7d31bc
Use BuildCookie function when setting cookie in Gateway API routers
...
Signed-off-by: Renato Vassão <renato.vassao@mindbodyonline.com >
2025-10-14 16:00:14 -03:00
Renato Vassão
c7dad5b532
Use BuildCookie function when setting cookie in Istio router
...
Signed-off-by: Renato Vassão <renato.vassao@mindbodyonline.com >
2025-10-14 16:00:14 -03:00
Sanskar Jaiswal
1dc270c2e6
feat: add support for primary backend cookies in session affinity
...
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com >
2025-03-24 13:08:27 +05:30
Thomas Banks
f1c8807c0d
feat: add knative integration
...
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com >
Co-authored-by: Thomas Banks
2025-03-22 01:02:30 +05:30
Sanskar Jaiswal
45618b90db
feat: add option to generate headless services
...
Add a new field `.spec.service.headless` which if set to true results in
Flagger generating headless Services, i.e. with the Service's
`.spec.clusterIP` set to None.
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com >
2025-01-14 14:09:12 +05:30
Sanskar Jaiswal
3b6b550d64
Add tests for annotations preservation in Gateway API router
...
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com >
2024-12-16 22:16:08 +05:30
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
Sanskar Jaiswal
398fc90cc0
fix: fix codegen script and update generated code
...
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com >
2024-11-23 18:12:23 +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
Stefan Prodan
0a616df01e
Merge pull request #1602 from benoitg31/main
...
Migrate istio VirtualService/DestinationRule to APIversion v1beta1 (current v1alpha3)
2024-03-26 10:26:30 +02:00
sopida-chotwanwirach
e3a529e1c8
switch to use patch
...
Signed-off-by: sopida-chotwanwirach <sopida.chotwanwirach@offerup.com >
2024-03-18 19:37:08 -07:00
sopida-chotwanwirach
e153b8a3df
fix(gloo): Update reconciler to detect change in gloo upstream spec
...
Signed-off-by: sopida-chotwanwirach <sopida.chotwanwirach@offerup.com >
2024-03-14 14:13:02 -07: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
Alexey Kubrinsky
4932527464
Istio Canary TCP service support
...
Signed-off-by: Alexey Kubrinsky <akubrinsky@zetaglobal.com >
2024-02-07 14:51:30 +01:00
Sanskar Jaiswal
1f2c464b45
gatewayapi: add support for timeouts
...
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com >
2023-11-29 20:56:33 +05:30
Sanskar Jaiswal
0d0d0ef811
gatewayapi: add support for v1 and drop v1alpha2
...
Add support for v1 of Gateway API `HTTPRoute`. Drop support for v1alpha2
as it was deprecated almost a year ago.
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com >
2023-11-29 20:56:30 +05:30
rye-sw
d796c206d3
Set original node selector value when finalizing service
...
Signed-off-by: rye-sw <rye@stairwell.com >
2023-10-16 10:44:18 -07: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`](3d22aa5a08/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
Son Bui
2e4fe73d34
fix: Incorrect format for istio gateways #1104
...
Signed-off-by: Son Bui <sonbv00@gmail.com >
2023-08-28 20:46:30 +08:00
Nick Caballero
8747d15417
feat: Copy slowStartConfig for Gloo upstreams
...
Signed-off-by: Nick Caballero <nick.caballero@offerup.com >
2023-07-13 18:25:02 +05:30
Jiří Pinkava
d2564874ab
Fix panic when annotation of ingress is empty
...
When the annotation of ingress is not set, the returned value is nil
(not empty map). Trying to assign to this map leads to panic.
Signed-off-by: Jiří Pinkava <j-pi@seznam.cz >
2023-05-29 11:27:28 +02:00
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
Sanskar Jaiswal
8229852585
disable flux helm drift detection for managed resources
...
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com >
2023-04-10 17:28:39 +05:30
ta924@yahoo.com
44363d5d99
address issue with all canary labels copied to primary on promote
...
address issue with all canary labels copied to primary on promote
Signed-off-by: ta924@yahoo.com <ta924@yahoo.com >
address review comments
2023-04-09 22:08:09 -05:00
Sanskar Jaiswal
202b6e7eb1
use regex to match against headers in istio
...
Use regex filtering to match against session affinity cookie headers
when using Istio instead of an exact match.
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com >
2023-02-08 21:41:19 +05:30
Gallardot
85fe251991
create canary apisix object only with the related http route
...
Signed-off-by: Gallardot <tttick@163.com >
2022-12-07 11:56:57 +08:00
Gallardot
e440be17ae
add e2e tests and helper functions for router
...
Signed-off-by: Gallardot <tttick@163.com >
2022-12-06 17:54:03 +05:30
Gallardot
ce52408bbc
improve apisix router and metric observer
...
Signed-off-by: Gallardot <tttick@163.com >
2022-12-06 17:52:38 +05:30
Gallardot
badf7b9a4f
chore: add UT, add DIFF
...
Signed-off-by: Gallardot <tttick@163.com >
2022-12-06 14:46:43 +05:30
Gallardot
3e9fe97ba3
[apisix] Implement router interface and observer interface
...
Signed-off-by: Gallardot <tttick@163.com >
2022-12-06 14:46:42 +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
Sanskar Jaiswal
14ccda5506
add unit tests for session affinity in istio router
...
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com >
2022-11-10 13:17:16 +05:30
Sanskar Jaiswal
a496b99d6e
add session affinity support for weighted routing with istio
...
Add `.spec.analysis.sessionAffinity` to configure session affinity for
weighted routing. Add support for session affinity in the Istio router,
using the `Set-Cookie` and `Cookie` headers.
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com >
2022-11-10 13:17:16 +05:30
mdolinin
4c0b2beb63
fix(gloo): Use correct route table name in case service name was overwritten
...
Signed-off-by: mdolinin <dmo.builder@gmail.com >
2022-10-24 21:38:08 -04:00
Sanskar Jaiswal
e593f2e258
gatewayapi: fix reconcilation of nil hostnames
...
Signed-off-by: Sanskar Jaiswal <sanskar.jaiswal@weave.works >
2022-10-10 16:29:21 +05:30
brandoncate
0cecab530f
fix contour httproxy annotations overwrite
...
Signed-off-by: brandoncate <brandon.cate@shipt.com >
2022-06-17 10:02:02 -05:00
Sanskar Jaiswal
560f884cc0
Merge pull request #1185 from philnichol/adding-appprotocol
...
feat: Add an optional `appProtocol` field to `spec.service`
2022-05-19 19:26:49 +05:30
Phil Nichol
d79898848e
feat: Added the optional appProtocol field to Canary.Service
...
Signed-off-by: Phil Nichol <35630607+philnichol@users.noreply.github.com >
2022-05-15 19:07:18 +01:00
Sanskar Jaiswal
8c690d1b21
avoid setting owner refs if the service mesh cluster is different
...
Signed-off-by: Sanskar Jaiswal <sanskar.jaiswal@weave.works >
2022-05-06 01:06:03 +05:30
Sanskar Jaiswal
7df1beef85
Add flag to disable cross namespace refs to AlertProviders and MetricTemplates
...
Signed-off-by: Sanskar Jaiswal <sanskar.jaiswal@weave.works >
2022-04-27 17:09:07 +05:30
brandoncate
d09969e3b4
update httpproxy
...
Signed-off-by: brandoncate <brandon.cate@shipt.com >
2022-04-08 09:58:23 -05:00