Skip to content

chore(acme): standardize redis configuration#12300

Merged
locao merged 2 commits intomasterfrom
chore/standarize-redis-configuration-acme
Jan 11, 2024
Merged

chore(acme): standardize redis configuration#12300
locao merged 2 commits intomasterfrom
chore/standarize-redis-configuration-acme

Conversation

@nowNick
Copy link
Contributor

@nowNick nowNick commented Jan 5, 2024

Summary

ACME 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 first in the chains of PRs that standardize Redis configuration.

  1. ACME: (this PR)
  2. RateLimiting: chore(rl): standarize redis configuration #12301
  3. Response-RateLimiting: chore(response-rl): standarize redis configuration #12302

Checklist

Issue reference

KAG-3388

@nowNick nowNick force-pushed the chore/standarize-redis-configuration-acme branch from 6729d6a to 75f4bc4 Compare January 8, 2024 07:40
@nowNick nowNick force-pushed the chore/standarize-redis-configuration-acme branch from 75f4bc4 to 2b317d0 Compare January 8, 2024 07:51
@nowNick nowNick force-pushed the chore/standarize-redis-configuration-acme branch from dc4a0e8 to 0ad6ba1 Compare January 8, 2024 10:26
@pull-request-size pull-request-size bot added size/XL and removed size/L labels Jan 9, 2024
@nowNick nowNick force-pushed the chore/standarize-redis-configuration-acme branch 2 times, most recently from a8c7332 to aecbd9f Compare January 9, 2024 13:35
@nowNick nowNick requested a review from jschmid1 January 9, 2024 14:55
@nowNick nowNick marked this pull request as ready for review January 9, 2024 14:55
@nowNick nowNick removed the request for review from jschmid1 January 9, 2024 14:56
@nowNick nowNick marked this pull request as draft January 9, 2024 14:56
@nowNick nowNick marked this pull request as ready for review January 9, 2024 15:16
@nowNick nowNick requested a review from jschmid1 January 9, 2024 15:16
@nowNick nowNick force-pushed the chore/standarize-redis-configuration-acme branch 4 times, most recently from 5d5eb72 to bcdf751 Compare January 10, 2024 17:47
@nowNick nowNick requested a review from jschmid1 January 10, 2024 17:48
@nowNick nowNick requested a review from locao January 10, 2024 17:48
ACME right now has new config structure that reuses
common redis connection configuration.

With introduction of new fields for redis configuration
the old ones should still be available to user up until
kong 4.0 version.

KAG-3388
@nowNick nowNick force-pushed the chore/standarize-redis-configuration-acme branch from bcdf751 to 3b8fbb8 Compare January 11, 2024 08:57
Copy link
Contributor

@jschmid1 jschmid1 left a comment

Choose a reason for hiding this comment

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

looks good! nice work 🚀

Copy link
Contributor

@locao locao left a comment

Choose a reason for hiding this comment

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

Just a log message that seems to need a fix, otherwise LGTM 🚀

Co-authored-by: Vinicius Mignot <vinicius.mignot@gmail.com>
@locao locao merged commit 34b453a into master Jan 11, 2024
@locao locao deleted the chore/standarize-redis-configuration-acme branch January 11, 2024 21:36
@nowNick nowNick added the cherry-pick kong-ee schedule this PR for cherry-picking to kong/kong-ee label Jan 23, 2024
@team-gateway-bot
Copy link
Collaborator

Cherry-pick failed for master, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally.

git remote add upstream https://github.com/kong/kong-ee
git fetch upstream master
git worktree add -d .worktree/cherry-pick-12300-to-master-to-upstream upstream/master
cd .worktree/cherry-pick-12300-to-master-to-upstream
git checkout -b cherry-pick-12300-to-master-to-upstream
ancref=$(git merge-base 15d6f4cec8f6253ff73f157cb37d1a2cdce8cb94 c52a2c8d064412a4fb2842d9ecc01d093d8fcbcd)
git cherry-pick -x $ancref..c52a2c8d064412a4fb2842d9ecc01d093d8fcbcd

nowNick added a commit that referenced this pull request Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants