Page MenuHomePhabricator

api-gateway chart: make emission of x-ratelimit headers configurable
Closed, ResolvedPublic

Description

We want to test rate limiting on the production clustre using envoy's "shadow mode" which exercises rate limiting without enforcing limits. We should be able to do this without exposing ratelimit related headers to clients. To achieve this we need to be able to control the enable_x_ratelimit_headers key of the ratelimit config from value (config) files.

Event Timeline

Change #1201729 had a related patch set uploaded (by Pmiazga; author: Pmiazga):

[operations/deployment-charts@master] Make x-ratelimit response header configurable.

https://gerrit.wikimedia.org/r/1201729

daniel changed the task status from Open to In Progress.Nov 7 2025, 12:00 PM

Change #1201729 merged by jenkins-bot:

[operations/deployment-charts@master] api-gateway: Make x-ratelimit response header configurable.

https://gerrit.wikimedia.org/r/1201729