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

Emable SSL on Redis connection based on env config (to enable AWS lambda connectivity) #209

Merged
merged 4 commits into from
Dec 27, 2023

Conversation

PawelPeczek-Roboflow
Copy link
Collaborator

@PawelPeczek-Roboflow PawelPeczek-Roboflow commented Dec 27, 2023

Description

To connect to AWS elasticache it's required to use basic SSL context in Redis Client (as per all examples and empirical tests executed). In this PR, I've made SSL mode configurable via env with default being use SSL for lambda images, and not use SSL in other modes (for now, as SSL does not work with our default cache solutions deployed locally).

List any dependencies that are required for this change.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

How has this change been tested, please provide a testcase or example of how you tested the change?

  • tested at staging

Any specific deployment considerations

NA

Docs

  • Docs updated? What were the changes: NA

@PawelPeczek-Roboflow PawelPeczek-Roboflow merged commit 6eee7e0 into main Dec 27, 2023
5 checks passed
@PawelPeczek-Roboflow PawelPeczek-Roboflow deleted the fix/remove_issues_with_redis_connection branch December 27, 2023 15:43
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.

2 participants