-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
chore(rl): standarize redis configuration #12301
chore(rl): standarize redis configuration #12301
Conversation
89fc3b0
to
d519f2a
Compare
dc4a0e8
to
0ad6ba1
Compare
d519f2a
to
0b01009
Compare
a8c7332
to
aecbd9f
Compare
6428b70
to
5073fd8
Compare
aecbd9f
to
f55a468
Compare
5073fd8
to
cec2f00
Compare
f55a468
to
56165fb
Compare
cec2f00
to
6523fc1
Compare
5d5eb72
to
bcdf751
Compare
6523fc1
to
c36ec13
Compare
a877569
to
1ef1dfc
Compare
bcdf751
to
3b8fbb8
Compare
1ef1dfc
to
e2938a7
Compare
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.
looks great 🚀
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.
Good work!
@@ -27,7 +27,8 @@ local compatible_checkers = { | |||
function(config_table, dp_version, log_suffix) | |||
local has_update | |||
local redis_plugins_update = { | |||
acme = require("kong.plugins.acme.clustering.compat.redis_translation").adapter | |||
acme = require("kong.plugins.acme.clustering.compat.redis_translation").adapter, |
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.
acme = require("kong.plugins.acme.clustering.compat.redis_translation").adapter, | |
['acme'] = require("kong.plugins.acme.clustering.compat.redis_translation").adapter, |
Nit: it looks prettier if all items follow the same pattern.
timeout = 1100, | ||
ssl = true, | ||
ssl_verify = true, | ||
server_name = "example.test" |
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.
I am a simple man, I see a .test
hostname, I love the code ❤️
@nowNick I merged the other two PRs, but now we have conflicts in this one. Can you check, please? |
f020ab3
to
2c5f680
Compare
2c5f680
to
c68f2bc
Compare
Summary
Rate Limiting right now has new config structure that reuses common redis connection configuration.
Many plugins differ in the way Redis is configured. The goal of this PR is to introduce a standard Redis config schema that could be shared across plugins.
Other PRs
This is the second in the chains of PRs that standardize Redis configuration.
Checklist
changelog/unreleased/kong
orskip-changelog
label added on PR if changelog is unnecessary. README.mdThere is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HEREIssue reference
KAG-3388