Navigation Menu

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

Add redis db index option #577

Merged
merged 4 commits into from Jan 29, 2020
Merged

Add redis db index option #577

merged 4 commits into from Jan 29, 2020

Conversation

inuyasha82
Copy link
Contributor

This PR let the user choose what database to use instead of hardcoding db index 0.

What is needed is to specify:

dbIdx: X

value in the metadata,

Copy link
Member

@tomkerkhove tomkerkhove left a comment

Choose a reason for hiding this comment

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

Would you mind updating the docs on github.com/kedacore/keda-docs as well please?

pkg/scalers/redis_scaler.go Outdated Show resolved Hide resolved
@marchmallow
Copy link
Contributor

Guess we should document also the new option for TLS connections in https://github.com/kedacore/keda-docs/blob/master/content/scalers/redis-lists.md

@inuyasha82
Copy link
Contributor Author

@tomkerkhove @marchmallow yeah, i'll update the documentation today, and also make the required changes for this PR.

@inuyasha82
Copy link
Contributor Author

Ok i merged with master, and updated the database name.

I tested on databaseIndex 1 and it is working.
I also added the default value for enableTLS.

@inuyasha82
Copy link
Contributor Author

Create PR for the documentation too: kedacore/keda-docs#74

@ahmelsayed ahmelsayed merged commit 36766a6 into kedacore:master Jan 29, 2020
@marchmallow marchmallow deleted the add_dbidx branch March 30, 2020 19:54
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.

None yet

4 participants