Skip to content
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

Adding Redis DB option #2527

Merged
merged 2 commits into from
Sep 21, 2022
Merged

Adding Redis DB option #2527

merged 2 commits into from
Sep 21, 2022

Conversation

Omicron7
Copy link
Contributor

This exposes the remaining Redis connection option, DB, which was hard-coded to 0 in the initial Redis Locking DB work.

This allows selecting something other than the default database of 0. Atlantis may now use a different numerical database if needed, while still defaulting to 0. Common use case is multiple applications using the same redis server and using database as a mechanism for name spacing different applications. This could also allow multiple atlantis instances to share a single redis instance and separate locks by database. cc @SudoSpartanDan

This allows selecting something other than the default database of 0.
@Omicron7 Omicron7 requested a review from a team as a code owner September 16, 2022 15:52
@SudoSpartanDan
Copy link
Contributor

Looks good to me from my end, we’ll see if the maintainers pull this in for the next release or not.

@jamengual jamengual merged commit 1bcf938 into runatlantis:master Sep 21, 2022
krrrr38 pushed a commit to krrrr38/atlantis that referenced this pull request Dec 16, 2022
* Adding Redis DB option
This allows selecting something other than the default database of 0.

* Add missing db argument to fix failing tests.
@nitrocode nitrocode added this to the v0.19.9 milestone Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants