-
Bug
-
Resolution: Done
-
Normal
-
None
-
None
-
5
-
False
-
False
-
Undefined
-
-
AAH Sprint 7
Pulp does not recognize REDIS_SSL parameter when building settings for RQ in pulpcore/rqconfig.py. At the moment the only way to configure TLS connection to Redis is to pass REDIS_URL.
Since the Redis connection parameters are passed as a secret and mapped to individual environment variables it is not possible to combine REDIS_URL outside of the container.
Requirements:
- At the container initialization, individual Redis connection parameters, that are passed as environment variables must be transformed into a single PULP_REDIS_URL parameter.
- Individual connection parameters (PULP_REDIS_HOST, PULP_REDIS_PORT, etc.) must be unset after transformation.
- Redis connection URL must follow format:
- redis://[[username]:[password]]@localhost:6379/0 – for plain connection.
- rediss://[[username]:[password]]@localhost:6379/0 – for TLS connection.