Skip to content

feat: Suppress 'X-Envoy' headers and pass-through the upstream 'Server' header by default#2585

Merged
arkodg merged 2 commits intoenvoyproxy:mainfrom
liorokman:ctp-header-settings-impl
Feb 13, 2024
Merged

feat: Suppress 'X-Envoy' headers and pass-through the upstream 'Server' header by default#2585
arkodg merged 2 commits intoenvoyproxy:mainfrom
liorokman:ctp-header-settings-impl

Conversation

@liorokman
Copy link
Copy Markdown
Contributor

What this PR does / why we need it:
Implements the API introduced in #2500

@liorokman liorokman requested a review from a team as a code owner February 10, 2024 14:19
@liorokman liorokman force-pushed the ctp-header-settings-impl branch from bd53b2c to 38650e5 Compare February 10, 2024 14:40
Signed-off-by: Lior Okman <[email protected]>
@liorokman liorokman force-pushed the ctp-header-settings-impl branch from 38650e5 to 34852de Compare February 10, 2024 14:40
@codecov
Copy link
Copy Markdown

codecov bot commented Feb 10, 2024

Codecov Report

Attention: 14 lines in your changes are missing coverage. Please review.

Comparison is base (5acc233) 64.09% compared to head (34852de) 64.08%.

Files Patch % Lines
internal/ir/zz_generated.deepcopy.go 0.00% 13 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2585      +/-   ##
==========================================
- Coverage   64.09%   64.08%   -0.02%     
==========================================
  Files         119      119              
  Lines       18628    18647      +19     
==========================================
+ Hits        11939    11949      +10     
- Misses       5906     5915       +9     
  Partials      783      783              

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

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.

LGTM thanks !

@arkodg arkodg requested review from a team February 12, 2024 20:53
Copy link
Copy Markdown
Contributor

@guydc guydc left a comment

Choose a reason for hiding this comment

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

LGTM

@arkodg arkodg merged commit 988d4ed into envoyproxy:main Feb 13, 2024
arkodg pushed a commit to arkodg/gateway that referenced this pull request Feb 13, 2024
Between envoyproxy#2585
&
envoyproxy#2581

Signed-off-by: Arko Dasgupta <[email protected]>
@arkodg arkodg mentioned this pull request Feb 13, 2024
arkodg added a commit that referenced this pull request Feb 13, 2024
Between #2585
&
#2581

Signed-off-by: Arko Dasgupta <[email protected]>
yaelSchechter pushed a commit to yaelSchechter/envoy-gateway that referenced this pull request Feb 14, 2024
…r' header by default (envoyproxy#2585)

* Implement and update tests for the default header transformations.

Signed-off-by: Lior Okman <[email protected]>

* Make 'gen-check' happy

Signed-off-by: Lior Okman <[email protected]>

---------

Signed-off-by: Lior Okman <[email protected]>
Signed-off-by: Yael Shechter <[email protected]>
yaelSchechter pushed a commit to yaelSchechter/envoy-gateway that referenced this pull request Feb 14, 2024
Between envoyproxy#2585
&
envoyproxy#2581

Signed-off-by: Arko Dasgupta <[email protected]>
Signed-off-by: Yael Shechter <[email protected]>
arkodg pushed a commit to arkodg/gateway that referenced this pull request Feb 16, 2024
Between envoyproxy#2566

&

envoyproxy#2585

Signed-off-by: Arko Dasgupta <[email protected]>
@arkodg arkodg mentioned this pull request Feb 16, 2024
arkodg added a commit that referenced this pull request Feb 16, 2024
Fix merge race

Between #2566

&

#2585

Signed-off-by: Arko Dasgupta <[email protected]>
zirain added a commit that referenced this pull request Feb 18, 2024
* feat: Suppress 'X-Envoy' headers and pass-through the upstream 'Server' header by default (#2585)

* Implement and update tests for the default header transformations.

Signed-off-by: Lior Okman <[email protected]>

* Make 'gen-check' happy

Signed-off-by: Lior Okman <[email protected]>

---------

Signed-off-by: Lior Okman <[email protected]>
Signed-off-by: Yael Shechter <[email protected]>

* bug: fix merge race (#2604)

Between #2585
&
#2581

Signed-off-by: Arko Dasgupta <[email protected]>
Signed-off-by: Yael Shechter <[email protected]>

* feat: downstream mTLS (#2490)

* feat: downstream mTLS

Relates to #2483

Signed-off-by: Arko Dasgupta <[email protected]>

* configmap provider logic

Signed-off-by: Arko Dasgupta <[email protected]>

* gatewayapi translation

Signed-off-by: Arko Dasgupta <[email protected]>

* fix charts

Signed-off-by: Arko Dasgupta <[email protected]>

* tests

Signed-off-by: Arko Dasgupta <[email protected]>

* lint

Signed-off-by: Arko Dasgupta <[email protected]>

---------

Signed-off-by: Arko Dasgupta <[email protected]>
Signed-off-by: Yael Shechter <[email protected]>

* add timeout to clientTrafficPolicy

Signed-off-by: Yael Shechter <[email protected]>

* fix comment

Signed-off-by: Yael Shechter <[email protected]>

* add omitempty

Signed-off-by: Yael Shechter <[email protected]>

* add cel test for coverage

Signed-off-by: Yael Shechter <[email protected]>

* run make commands

Signed-off-by: Yael Shechter <[email protected]>

* change request timeout field name and desc

Signed-off-by: Yael Shechter <[email protected]>

* tidy up comment

Signed-off-by: Yael Shechter <[email protected]>

* fix cel test

Signed-off-by: Yael Shechter <[email protected]>

* fix typo

Signed-off-by: Yael Shechter <[email protected]>

* run generate

Signed-off-by: Yael Shechter <[email protected]>

---------

Signed-off-by: Lior Okman <[email protected]>
Signed-off-by: Yael Shechter <[email protected]>
Signed-off-by: Arko Dasgupta <[email protected]>
Co-authored-by: Lior Okman <[email protected]>
Co-authored-by: Arko Dasgupta <[email protected]>
Co-authored-by: zirain <[email protected]>
@liorokman liorokman deleted the ctp-header-settings-impl branch August 17, 2024 06:47
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.

3 participants