Skip to content

add an option to control ssl in redis client(GONRG-5301)

Description:

Issue: #63 (closed)

Add an option to enable\disable SSL for Redis connections via the Redis client constructor.

Previously it was not possible to disable SSL and use passwords with Redis, but some envs could have their own communication encryption, like Istio with mtls. And for such envs SSL\TLS certificates provisioning for Redis is not necessary.

This change should not be breaking since old constructors with passwords are preserved, and they will enable SSL by default.

How to test:

Does functionality was tested and how?

Changes include:

  • Refactor (a non-breaking change that improves code maintainability).
  • Bugfix (a non-breaking change that solves an issue).
  • New feature (a non-breaking change that adds functionality).
  • Breaking change (a change that is not backward-compatible and/or changes current functionality).

Changes in:

  • Common code

Dev Checklist:

  • Added Unit Tests, wherever applicable.
  • Updated the Readme, if applicable.
  • Existing Tests pass
  • Verified functionality locally
  • Self Reviewed my code for formatting and complex business logic.
Edited by Rustam Lotsmanenko (EPAM)

Merge request reports