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

api: support setting trusted CIDRs #4500

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rudrakhp
Copy link
Contributor

@rudrakhp rudrakhp commented Oct 23, 2024

What type of PR is this?

api: support setting trusted CIDRs

What this PR does / why we need it:

To configure Envoy API's xff_trusted_cidrs param.

Which issue(s) this PR fixes:

Ref #4489

Release Notes: Yes

@rudrakhp rudrakhp requested a review from a team as a code owner October 23, 2024 07:13
Copy link

codecov bot commented Oct 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (main@74e5750). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4500   +/-   ##
=======================================
  Coverage        ?   65.50%           
=======================================
  Files           ?      211           
  Lines           ?    31858           
  Branches        ?        0           
=======================================
  Hits            ?    20870           
  Misses          ?     9745           
  Partials        ?     1243           

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

@rudrakhp rudrakhp force-pushed the xff_trusted_cidrs_api branch 4 times, most recently from e3454ff to 8762bd5 Compare October 23, 2024 09:58
@rudrakhp
Copy link
Contributor Author

Wanted to add docs after implementation is done but looks like a recent gen check is not allowing me to do that.

@rudrakhp rudrakhp force-pushed the xff_trusted_cidrs_api branch 3 times, most recently from c9233b4 to 3c83553 Compare October 24, 2024 06:22
site/content/en/news/releases/notes/current.md Outdated Show resolved Hide resolved
release-notes/current.yaml Outdated Show resolved Hide resolved
release-notes/current.yaml Outdated Show resolved Hide resolved
@rudrakhp rudrakhp force-pushed the xff_trusted_cidrs_api branch 5 times, most recently from 9ca481c to ecbd701 Compare October 24, 2024 08:52
@rudrakhp rudrakhp force-pushed the xff_trusted_cidrs_api branch 5 times, most recently from 41d8653 to 7ab024c Compare October 25, 2024 06:39
@rudrakhp rudrakhp force-pushed the xff_trusted_cidrs_api branch 2 times, most recently from c93d737 to ef7b486 Compare October 28, 2024 08:54
zhaohuabing
zhaohuabing previously approved these changes Oct 28, 2024
Copy link
Member

@zhaohuabing zhaohuabing left a comment

Choose a reason for hiding this comment

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

A nit on the comments, it's non-blocking.

Signed-off-by: Rudrakh Panigrahi <rudrakh97@gmail.com>
Copy link
Member

@zhaohuabing zhaohuabing left a comment

Choose a reason for hiding this comment

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

The API LGTM, thanks!

@arkodg
Copy link
Contributor

arkodg commented Oct 30, 2024

Let's hold off on merging API and feature PRs until v1.2 is released to simplify cherry picking

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.

4 participants