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
Signed-off-by: Lior Okman <lior.okman@sap.com>
@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 <lior.okman@sap.com>
@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 <arko@tetrate.io>
@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 <arko@tetrate.io>
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 <lior.okman@sap.com>

* Make 'gen-check' happy

Signed-off-by: Lior Okman <lior.okman@sap.com>

---------

Signed-off-by: Lior Okman <lior.okman@sap.com>
Signed-off-by: Yael Shechter <yael.shechter@sap.com>
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 <arko@tetrate.io>
Signed-off-by: Yael Shechter <yael.shechter@sap.com>
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 <arko@tetrate.io>
@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 <arko@tetrate.io>
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 <lior.okman@sap.com>

* Make 'gen-check' happy

Signed-off-by: Lior Okman <lior.okman@sap.com>

---------

Signed-off-by: Lior Okman <lior.okman@sap.com>
Signed-off-by: Yael Shechter <yael.shechter@sap.com>

* bug: fix merge race (#2604)

Between #2585
&
#2581

Signed-off-by: Arko Dasgupta <arko@tetrate.io>
Signed-off-by: Yael Shechter <yael.shechter@sap.com>

* feat: downstream mTLS (#2490)

* feat: downstream mTLS

Relates to #2483

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

* configmap provider logic

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

* gatewayapi translation

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

* fix charts

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

* tests

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

* lint

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

---------

Signed-off-by: Arko Dasgupta <arko@tetrate.io>
Signed-off-by: Yael Shechter <yael.shechter@sap.com>

* add timeout to clientTrafficPolicy

Signed-off-by: Yael Shechter <yael.shechter@sap.com>

* fix comment

Signed-off-by: Yael Shechter <yael.shechter@sap.com>

* add omitempty

Signed-off-by: Yael Shechter <yael.shechter@sap.com>

* add cel test for coverage

Signed-off-by: Yael Shechter <yael.shechter@sap.com>

* run make commands

Signed-off-by: Yael Shechter <yael.shechter@sap.com>

* change request timeout field name and desc

Signed-off-by: Yael Shechter <yael.shechter@sap.com>

* tidy up comment

Signed-off-by: Yael Shechter <yael.shechter@sap.com>

* fix cel test

Signed-off-by: Yael Shechter <yael.shechter@sap.com>

* fix typo

Signed-off-by: Yael Shechter <yael.shechter@sap.com>

* run generate

Signed-off-by: Yael Shechter <yael.shechter@sap.com>

---------

Signed-off-by: Lior Okman <lior.okman@sap.com>
Signed-off-by: Yael Shechter <yael.shechter@sap.com>
Signed-off-by: Arko Dasgupta <arko@tetrate.io>
Co-authored-by: Lior Okman <lior.okman@sap.com>
Co-authored-by: Arko Dasgupta <arkodg@users.noreply.github.com>
Co-authored-by: zirain <zirain2009@gmail.com>
@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