Skip to content

make CAFilePath configurable#810

Closed
filipcirtog wants to merge 3 commits intographite-base/810from
02-19-make_cafilepath_configurable
Closed

make CAFilePath configurable#810
filipcirtog wants to merge 3 commits intographite-base/810from
02-19-make_cafilepath_configurable

Conversation

@filipcirtog
Copy link
Collaborator

@filipcirtog filipcirtog commented Feb 19, 2026

Summary

Previously, the operator automatically used fixed CA certificate mount paths:
/mongodb-automation/tls/ca/ca-pem for MongoDB deployments
/mongodb-automation/ca.pem for AppDB (not scope of this changes)

This was a blocker for VM-to-Kubernetes migrations and custom security requirements because:

  • VM deployments may use different CA paths (e.g., /etc/ssl/certs/ca.pem)
  • Kubernetes deployments were restricted to operator-defined paths
  • No way to align CA paths between environments during migration

Solution: New optional CRD field spec.security.tls.caFilePath allows specifying a custom CA certificate path. When set, the operator:

  • Uses the custom path in automation config instead of the default path
  • Creates an additional volume mount at the custom path using subPath from the CA ConfigMap

Proof of Work

Checklist

  • Have you linked a jira ticket and/or is the ticket in the title?
  • Have you checked whether your jira ticket required DOCSP changes?
  • Have you added changelog file?

Copy link
Collaborator Author

filipcirtog commented Feb 19, 2026

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@filipcirtog filipcirtog mentioned this pull request Feb 19, 2026
3 tasks
@filipcirtog filipcirtog force-pushed the 02-18-make_log_paths_configurable branch from f2792c9 to 9ff8bd2 Compare March 3, 2026 16:53
@filipcirtog filipcirtog force-pushed the 02-19-make_cafilepath_configurable branch from 888ad27 to 80ac249 Compare March 3, 2026 16:53
@filipcirtog filipcirtog changed the base branch from 02-18-make_log_paths_configurable to graphite-base/810 March 3, 2026 17:17
@filipcirtog filipcirtog closed this Mar 4, 2026
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