-
Notifications
You must be signed in to change notification settings - Fork 468
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle rate_limit_before_auth setting in its deprecated location (#1573)
* Handle `rate_limit_before_auth` setting in its deprecated location * Update projects/gloo/pkg/plugins/ratelimit/plugin_test.go * Restructure unit test * Remove new getter function
- Loading branch information
1 parent
dc0c0e3
commit bc3835e
Showing
3 changed files
with
26 additions
and
20 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
changelog/v0.20.13/fix-handling-deprecated-ratelimit-settings.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
changelog: | ||
- type: FIX | ||
description: > | ||
Handle the `rate_limit_before_auth` setting in its deprecated location. We currently correctly handle the flag in its | ||
new location (`spec.extensions.configs.rate-limit.rate_limit_before_auth`) but ignore it in the | ||
deprecated one (`spec.ratelimit_server.rate_limit_before_auth`). | ||
issueLink: https://github.com/solo-io/gloo/issues/1572 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters