Skip to content
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

fix: do not propagate well-known port number for xds portRedirect #3628

Merged
merged 2 commits into from
Jun 22, 2024

Conversation

shawnh2
Copy link
Contributor

@shawnh2 shawnh2 commented Jun 19, 2024

What type of PR is this?

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #3589

@shawnh2 shawnh2 requested a review from a team as a code owner June 19, 2024 05:56
Copy link

codecov bot commented Jun 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 68.36%. Comparing base (9e2cfb4) to head (97a52e3).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3628      +/-   ##
==========================================
- Coverage   68.38%   68.36%   -0.02%     
==========================================
  Files         170      170              
  Lines       20707    20707              
==========================================
- Hits        14160    14157       -3     
- Misses       5527     5529       +2     
- Partials     1020     1021       +1     

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

Signed-off-by: shawnh2 <[email protected]>
@shawnh2
Copy link
Contributor Author

shawnh2 commented Jun 19, 2024

/retest

Copy link
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.

LGTM thanks !

@arkodg arkodg requested review from a team June 21, 2024 23:25
@zirain zirain merged commit c74f4fe into envoyproxy:main Jun 22, 2024
23 checks passed
@shawnh2 shawnh2 deleted the fix-port-redir-loc-header branch June 22, 2024 04:53
bjlhlin pushed a commit to bjlhlin/gateway that referenced this pull request Jun 24, 2024
…voyproxy#3628)

* do not propagate well-known port number in xds translator for portRedirect

Signed-off-by: shawnh2 <[email protected]>

* fix yaml lint

Signed-off-by: shawnh2 <[email protected]>

---------

Signed-off-by: shawnh2 <[email protected]>
Signed-off-by: “bjlhlin” <“[email protected]”>
bjlhlin pushed a commit to bjlhlin/gateway that referenced this pull request Jun 24, 2024
…voyproxy#3628)

* do not propagate well-known port number in xds translator for portRedirect

Signed-off-by: shawnh2 <[email protected]>

* fix yaml lint

Signed-off-by: shawnh2 <[email protected]>

---------

Signed-off-by: shawnh2 <[email protected]>
Signed-off-by: “bjlhlin” <“[email protected]”>
Signed-off-by: bjlhlin <[email protected]>
bjlhlin pushed a commit to bjlhlin/gateway that referenced this pull request Jun 24, 2024
…voyproxy#3628)

* do not propagate well-known port number in xds translator for portRedirect

Signed-off-by: shawnh2 <[email protected]>

* fix yaml lint

Signed-off-by: shawnh2 <[email protected]>

---------

Signed-off-by: shawnh2 <[email protected]>
Signed-off-by: “bjlhlin” <“[email protected]”>
Signed-off-by: bjlhlin <[email protected]>
bjlhlin pushed a commit to bjlhlin/gateway that referenced this pull request Jun 24, 2024
…voyproxy#3628)

* do not propagate well-known port number in xds translator for portRedirect

Signed-off-by: shawnh2 <[email protected]>

* fix yaml lint

Signed-off-by: shawnh2 <[email protected]>

---------

Signed-off-by: shawnh2 <[email protected]>
Signed-off-by: “bjlhlin” <“[email protected]”>
Signed-off-by: bjlhlin <[email protected]>
bjlhlin pushed a commit to bjlhlin/gateway that referenced this pull request Jun 24, 2024
…voyproxy#3628)

* do not propagate well-known port number in xds translator for portRedirect

Signed-off-by: shawnh2 <[email protected]>

* fix yaml lint

Signed-off-by: shawnh2 <[email protected]>

---------

Signed-off-by: shawnh2 <[email protected]>
Signed-off-by: “bjlhlin” <“[email protected]”>
Signed-off-by: bjlhlin <[email protected]>
bjlhlin pushed a commit to bjlhlin/gateway that referenced this pull request Jun 24, 2024
…voyproxy#3628)

* do not propagate well-known port number in xds translator for portRedirect

Signed-off-by: shawnh2 <[email protected]>

* fix yaml lint

Signed-off-by: shawnh2 <[email protected]>

---------

Signed-off-by: shawnh2 <[email protected]>
Signed-off-by: “bjlhlin” <“[email protected]”>
Signed-off-by: bjlhlin <[email protected]>
bjlhlin pushed a commit to bjlhlin/gateway that referenced this pull request Jun 25, 2024
…voyproxy#3628)

* do not propagate well-known port number in xds translator for portRedirect

Signed-off-by: shawnh2 <[email protected]>

* fix yaml lint

Signed-off-by: shawnh2 <[email protected]>

---------

Signed-off-by: shawnh2 <[email protected]>
Signed-off-by: bjlhlin <[email protected]>
bjlhlin pushed a commit to bjlhlin/gateway that referenced this pull request Jun 26, 2024
…voyproxy#3628)

* do not propagate well-known port number in xds translator for portRedirect

Signed-off-by: shawnh2 <[email protected]>

* fix yaml lint

Signed-off-by: shawnh2 <[email protected]>

---------

Signed-off-by: shawnh2 <[email protected]>
Signed-off-by: bjlhlin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Redirects add port to Location header
3 participants