-
Notifications
You must be signed in to change notification settings - Fork 689
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
cmd/contour: add EnableXRateLimitHeaders config file setting #3457
Conversation
I assumed that folks agreed with #3431 (comment), but I'd still appreciate input one way or another on that. Easy enough to change things if we want to switch to a non-boolean config option. |
Codecov Report
@@ Coverage Diff @@
## main #3457 +/- ##
==========================================
+ Coverage 75.15% 75.21% +0.05%
==========================================
Files 98 98
Lines 6586 6592 +6
==========================================
+ Hits 4950 4958 +8
+ Misses 1523 1521 -2
Partials 113 113
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM assuming the boolean option is cool with everyone
sounds like using the bool works for everyone, but I'll leave this open for one more day in case @youngnick or @xaleeks have further input. |
Adds the EnableXRateLimitHeaders field to the config file's RateLimitService block. When set to true, adds the X-RateLimit headers to responses that required checking the RLS. Closes projectcontour#3431. Signed-off-by: Steve Kriss <[email protected]>
Adds the EnableXRateLimitHeaders field to the config file's
RateLimitService block. When set to true, adds the X-RateLimit
headers to responses that required checking the RLS.
Closes #3431.
Signed-off-by: Steve Kriss [email protected]