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 certificates settings for medusa encryption #1391

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rexbut
Copy link

@rexbut rexbut commented Aug 27, 2024

What this PR does:
This PR enhances the K8ssandra Operator by adding customizable TLS certificate settings for Medusa client-side encryption. Specifically, it introduces a new certificatesSettings configuration option, which allows users to specify custom names for the CA certificate, client certificate, and client private key within the Secret's data field.

This enhancement ensures compatibility with CertManager by allowing users to map the standard CertManager keys (ca.crt, tls.crt, tls.key) to the Medusa configuration:

"medusa" = {
  "certificatesSettings" = {
    "certfile" = "ca.crt"
    "usercert" = "tls.crt"
    "userkey"  = "tls.key"
  }
}

Which issue(s) this PR fixes:
Fixes #

Checklist

  • Changes manually tested
  • Automated Tests added/updated
  • Documentation added/updated
  • CHANGELOG.md updated (not required for documentation PRs)
  • CLA Signed: DataStax CLA

@rexbut rexbut requested a review from a team as a code owner August 27, 2024 10:10
Copy link

sonarcloud bot commented Aug 27, 2024

Copy link

No linked issues found. Please add the corresponding issues in the pull request description.
Use GitHub automation to close the issue when a PR is merged

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.

1 participant