Skip to content

Conversation

@anandsyncs
Copy link
Contributor

@anandsyncs anandsyncs commented Nov 6, 2025

Summary

Why: Making Search snippets with TLS-First

Our MongoDB Search snippets guide previously deployed without TLS. This PR overhauls them to be "TLS-first," adding and automating end-to-end encryption by default.

What's Changing:

  1. Integrates cert-manager to automatically install, bootstrap a self-signed CA, and issue all TLS certificates for MongoDB and MongoDBSearch.
  2. All resource manifests are updated to require and reference the new TLS secrets and CA.
  3. Replaces all hardcoded resource names, member counts, and secret names with environment variables (e.g., $RESOURCE_NAME).
  4. Adds validation scripts to check for required variables before deployment.

Proof of Work

Tests pass

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?

@lsierant lsierant force-pushed the anandsyncs/mck-search-enterprise-snippets-update branch from 52a2909 to ca9d756 Compare November 7, 2025 09:00
…-snippets-update' into anandsyncs/mck-search-enterprise-snippets-update

# Conflicts:
#	docs/search/01-search-community-deploy/code_snippets/01_0040_validate_env.sh
#	docs/search/01-search-community-deploy/code_snippets/01_0308_issue_tls_certificates.sh
#	docs/search/02-search-enterprise-deploy/code_snippets/02_0040_validate_env.sh
@anandsyncs anandsyncs changed the title Enterprise Search TLS and cert manager changes CLOUDP-353164: Community/Enterprise Search TLS and cert manager changes Nov 7, 2025
@anandsyncs anandsyncs added the skip-changelog Use this label in Pull Request to not require new changelog entry file label Nov 7, 2025
@anandsyncs anandsyncs marked this pull request as ready for review November 7, 2025 12:23
@anandsyncs anandsyncs requested a review from a team as a code owner November 7, 2025 12:23
@anandsyncs anandsyncs enabled auto-merge (squash) November 10, 2025 11:27
@anandsyncs anandsyncs merged commit 73d2c40 into master Nov 10, 2025
4 of 5 checks passed
@anandsyncs anandsyncs deleted the anandsyncs/mck-search-enterprise-snippets-update branch November 10, 2025 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-changelog Use this label in Pull Request to not require new changelog entry file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants