Skip to content

fix: check for mirror backendRef in httproute index#5497

Merged
arkodg merged 3 commits intoenvoyproxy:mainfrom
markwinter:fix/include-mirror-in-httproute-index
Mar 15, 2025
Merged

fix: check for mirror backendRef in httproute index#5497
arkodg merged 3 commits intoenvoyproxy:mainfrom
markwinter:fix/include-mirror-in-httproute-index

Conversation

@markwinter
Copy link
Copy Markdown
Contributor

What this PR does / why we need it:

Includes any mirrored backendRefs in the httproute index

Which issue(s) this PR fixes:

Fixes #5495

Release Notes: No

@markwinter markwinter requested a review from a team as a code owner March 14, 2025 00:40
@markwinter
Copy link
Copy Markdown
Contributor Author

markwinter commented Mar 14, 2025

@arkodg Do you want me to update test.GetHTTPRoute to pass in a filter object instead of the string that adds an extensionref maybe?

@markwinter markwinter force-pushed the fix/include-mirror-in-httproute-index branch 2 times, most recently from c5d1cd6 to 805f0d4 Compare March 14, 2025 00:43
Signed-off-by: mark winter <mark.winter@thetradedesk.com>
Signed-off-by: mark winter <mark.winter@thetradedesk.com>
Signed-off-by: mark winter <mark.winter@thetradedesk.com>
@zirain zirain force-pushed the fix/include-mirror-in-httproute-index branch from 23c1d47 to e7f5167 Compare March 14, 2025 02:37
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 65.23%. Comparing base (d8d3ca4) to head (e7f5167).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5497      +/-   ##
==========================================
- Coverage   65.24%   65.23%   -0.02%     
==========================================
  Files         213      213              
  Lines       33988    33999      +11     
==========================================
+ Hits        22175    22178       +3     
- Misses      10485    10490       +5     
- Partials     1328     1331       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Contributor

@arkodg arkodg left a comment

Choose a reason for hiding this comment

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

that was quick, LGTM thanks !

@arkodg arkodg merged commit 72b72c4 into envoyproxy:main Mar 15, 2025
25 checks passed
@markwinter markwinter deleted the fix/include-mirror-in-httproute-index branch March 15, 2025 10:28
guydc pushed a commit to guydc/gateway that referenced this pull request Mar 21, 2025
* check for mirror backendRef

Signed-off-by: mark winter <mark.winter@thetradedesk.com>
(cherry picked from commit 72b72c4)
Signed-off-by: Guy Daich <guy.daich@sap.com>
zhaohuabing pushed a commit to zhaohuabing/gateway that referenced this pull request Mar 22, 2025
* check for mirror backendRef

Signed-off-by: mark winter <mark.winter@thetradedesk.com>
(cherry picked from commit 72b72c4)
Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>
guydc added a commit that referenced this pull request Mar 24, 2025
* load BackendTLSPolicy in standalone mode (#5431)

Signed-off-by: Arko Dasgupta <arko@tetrate.io>
(cherry picked from commit 4d914ae)
Signed-off-by: Guy Daich <guy.daich@sap.com>

* Wasm: cache Wasm OCI image permission check results (#5358)

* add TTL for wasm permission check

Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>

* fix test

Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>

* change

Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>

* refresh the cache

Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>

* purge the cache

Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>

* refactor

Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>

* on retry on retriable errors

Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>

* add release note

Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>

---------

Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>
(cherry picked from commit 672de8a)
Signed-off-by: Guy Daich <guy.daich@sap.com>

* Load EnvoyExtensionPolicy in standalone mode (#5460)

* load EnvoyExtensionPolicy in standalone mode

Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>

* more

Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>

* release note

Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>

* review: use a valid target name instead of myapp

Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>

* gen

Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>

---------

Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
(cherry picked from commit 4be098d)
Signed-off-by: Guy Daich <guy.daich@sap.com>

* fix: check for mirror backendRef in httproute index (#5497)

* check for mirror backendRef

Signed-off-by: mark winter <mark.winter@thetradedesk.com>
(cherry picked from commit 72b72c4)
Signed-off-by: Guy Daich <guy.daich@sap.com>

* fix: dont return an err when gatewayclass is not accepted (#5524)

* bug: dont return an err when gatewayclass is not accepted

this is a user generated error, we shouldnt log it as
a system error, and return with an error

Signed-off-by: Arko Dasgupta <arko@tetrate.io>

* release notes

Signed-off-by: Arko Dasgupta <arko@tetrate.io>

---------

Signed-off-by: Arko Dasgupta <arko@tetrate.io>
(cherry picked from commit 51e87ca)
Signed-off-by: Guy Daich <guy.daich@sap.com>

* fix: host header should not be allowed to modify (#5533)

* host header is not allowed to be modified

Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>

* address comment

Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>

---------

Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>
(cherry picked from commit 54efa34)
Signed-off-by: Guy Daich <guy.daich@sap.com>

* fix: retrigger reconciliation when backendRef of type ServiceImport is updated (#5461)

* fix: retrigger reconilation when backendRef of type ServiceImport is updated

Signed-off-by: Teju Nareddy <tejunareddy@gmail.com>
(cherry picked from commit e2f8978)
Signed-off-by: Guy Daich <guy.daich@sap.com>

* pin envoy and ratelimit

Signed-off-by: Guy Daich <guy.daich@sap.com>

* fix: otel sink json access logging without text field (#5498)

* fix otel sink json access logging without text field

Signed-off-by: Tomi Juntunen <tomi.juntunen@iki.fi>

* use json format as default when format or type is not set

Signed-off-by: Tomi Juntunen <tomi.juntunen@iki.fi>

* set formatters only if the slice of formatters is not empty

Signed-off-by: Tomi Juntunen <tomi.juntunen@iki.fi>

---------

Signed-off-by: Tomi Juntunen <tomi.juntunen@iki.fi>
Co-authored-by: Arko Dasgupta <arkodg@users.noreply.github.com>
(cherry picked from commit cb3ffd2)
Signed-off-by: Guy Daich <guy.daich@sap.com>

* [release/v1.3] v1.3.2 release notes (#5584)

v1.3.2 release notes

Signed-off-by: Guy Daich <guy.daich@sap.com>

---------

Signed-off-by: Arko Dasgupta <arko@tetrate.io>
Signed-off-by: Guy Daich <guy.daich@sap.com>
Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
Signed-off-by: mark winter <mark.winter@thetradedesk.com>
Signed-off-by: Teju Nareddy <tejunareddy@gmail.com>
Signed-off-by: Tomi Juntunen <tomi.juntunen@iki.fi>
Co-authored-by: Arko Dasgupta <arkodg@users.noreply.github.com>
Co-authored-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>
Co-authored-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
Co-authored-by: Mark Winter <wintermarkedward@gmail.com>
Co-authored-by: Teju Nareddy <tejunareddy@gmail.com>
Co-authored-by: Tomi Juntunen <tomi.juntunen@iki.fi>
arkodg added a commit that referenced this pull request Mar 25, 2025
* bump envoy to v1.32.4

Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>

* fix: host header should not be allowed to modify (#5533)

* host header is not allowed to be modified

Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>

* address comment

Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>

---------

Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>
(cherry picked from commit 54efa34)
Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>

* add release note

Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>

* bump ratelimit to 0141a24

Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>

* Wasm: cache Wasm OCI image permission check results (#5358)

* add TTL for wasm permission check

Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>

* fix test

Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>

* change

Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>

* refresh the cache

Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>

* purge the cache

Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>

* refactor

Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>

* on retry on retriable errors

Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>

* add release note

Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>

---------

Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>
(cherry picked from commit 672de8a)
Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>

* load BackendTLSPolicy in standalone mode (#5431)

Signed-off-by: Arko Dasgupta <arko@tetrate.io>
(cherry picked from commit 4d914ae)
Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>

* fix: check for mirror backendRef in httproute index (#5497)

* check for mirror backendRef

Signed-off-by: mark winter <mark.winter@thetradedesk.com>
(cherry picked from commit 72b72c4)
Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>

* fix: dont return an err when gatewayclass is not accepted (#5524)

* bug: dont return an err when gatewayclass is not accepted

this is a user generated error, we shouldnt log it as
a system error, and return with an error

Signed-off-by: Arko Dasgupta <arko@tetrate.io>

* release notes

Signed-off-by: Arko Dasgupta <arko@tetrate.io>

---------

Signed-off-by: Arko Dasgupta <arko@tetrate.io>
(cherry picked from commit 51e87ca)
Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>

* update release note

Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>

* update reatelimit

Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>

* fix gen

Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>

* Load EnvoyExtensionPolicy in standalone mode (#5460)

* load EnvoyExtensionPolicy in standalone mode

Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>

* more

Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>

* release note

Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>

* review: use a valid target name instead of myapp

Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>

* gen

Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>

---------

Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
(cherry picked from commit 4be098d)
Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>

* add security update to release note

Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>

* fix: otel sink json access logging without text field (#5498)

* fix otel sink json access logging without text field

Signed-off-by: Tomi Juntunen <tomi.juntunen@iki.fi>

* use json format as default when format or type is not set

Signed-off-by: Tomi Juntunen <tomi.juntunen@iki.fi>

* set formatters only if the slice of formatters is not empty

Signed-off-by: Tomi Juntunen <tomi.juntunen@iki.fi>

---------

Signed-off-by: Tomi Juntunen <tomi.juntunen@iki.fi>
Co-authored-by: Arko Dasgupta <arkodg@users.noreply.github.com>
(cherry picked from commit cb3ffd2)
Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>

* update release date

Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>

* update release date

Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>

---------

Signed-off-by: Huabing (Robin) Zhao <zhaohuabing@gmail.com>
Signed-off-by: Arko Dasgupta <arko@tetrate.io>
Signed-off-by: mark winter <mark.winter@thetradedesk.com>
Signed-off-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
Signed-off-by: Tomi Juntunen <tomi.juntunen@iki.fi>
Co-authored-by: Arko Dasgupta <arkodg@users.noreply.github.com>
Co-authored-by: Mark Winter <wintermarkedward@gmail.com>
Co-authored-by: Takeshi Yoneda <t.y.mathetake@gmail.com>
Co-authored-by: Tomi Juntunen <tomi.juntunen@iki.fi>
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.

Connection issues with mirror service

3 participants