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

[RHCLOUD-36096] Document TLS enabled if inMemoryDb.password is returned #1126

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

jessicarod7
Copy link
Member

JIRA issue

https://issues.redhat.com/browse/RHCLOUD-36096

Background

Notifications is loading its ElastiCache configuration via Clowder (see RedHatInsights/clowder-quarkus-config-source#291). We plan to use in-transit encryption (TLS), which requires a URI scheme of rediss://. However, we cannot use TLS for our test suite, and it's impossible very difficult to find a way to consistently rewrite the URL.

The easiest fix is to have the ConfigSource set the correct scheme when it knows TLS is being used. After reviewing Elasticache documentation, the qontract-reconcile code, and internal documentation, it's clear that db.auth_token can only be generated and provided when in-transit encryption is enabled. While the reverse is not necessarily true, this is enough for our purposes.

Description

Add a comment to the ElastiCache provider, and update the In-Memory DB docs, to publicly confirm that if the .inMemoryDb.password field in cdappconfig.json, then it is known that in-transit encryption is enabled.

jessicarod7 added a commit to jessicarod7/clowder-quarkus-config-source that referenced this pull request Jan 17, 2025
This is based on RedHatInsights/clowder#1126, which only sets passwords
for ElastiCache (not local Redis instances), following AWS requirements
that in-transit encryption be enabled to use an AUTH/RBAC password.
@psav psav merged commit 444818f into RedHatInsights:master Jan 21, 2025
8 checks passed
gwenneg pushed a commit to RedHatInsights/clowder-quarkus-config-source that referenced this pull request Jan 23, 2025
This is based on RedHatInsights/clowder#1126, which only sets passwords
for ElastiCache (not local Redis instances), following AWS requirements
that in-transit encryption be enabled to use an AUTH/RBAC password.
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