Skip to content

Conversation

@lsierant
Copy link
Contributor

@lsierant lsierant commented Nov 7, 2025

Summary

This PR contains fixes and improvements to the script updating snippets in docs repository.

Changes:

  • outputs were not downloaded properly
  • added DOCS_PR_BRANCH allowing to update snippets to a previously created snippets update PR.

Proof of Work

Manual run:

MCK_DIR=$(pwd) \
DOCS_DIR=~/mdb/docs-mongodb-internal \
OUTPUTS_VERSION_ID=690d2946d131f20007fecfe1 \
DOCS_PR_BRANCH=MCK-snippets-update-690cf87c07b9040007901fac \
scripts/dev/update_docs_snippets.sh

Resulted in this PR in docs repo

@lsierant lsierant requested a review from a team as a code owner November 7, 2025 07:29
@lsierant lsierant requested review from anandsyncs and m1kola November 7, 2025 07:29
@github-actions
Copy link

github-actions bot commented Nov 7, 2025

⚠️ (this preview might not be accurate if the PR is not rebased on current master branch)

MCK 1.6.0 Release Notes

New Features

  • MongoDBCommunity: Added support to configure custom cluster domain via newly introduced spec.clusterDomain resource field. If spec.clusterDomain is not set, environment variable CLUSTER_DOMAIN is used as cluster domain. If the environment variable CLUSTER_DOMAIN is also not set, operator falls back to cluster.local as default cluster domain.
  • Helm Chart: Introduced two new helm fields operator.podSecurityContext and operator.securityContext that can be used to configure securityContext for Operator deployment through Helm Chart.
  • MongoDBSearch:
    • Switched to gRPC and mTLS for internal communication between mongod and mongot.
      • Since MCK 1.4 the mongod and mongot processess communicated using the MongoDB Wire Protocol and used keyfile authentication. This release switches that to gRPC with mTLS authentication. gRPC will allow for load-balancing search queries against multiple mongot processes in the future, and mTLS decouples the internal cluster authentication mode and credentials among mongod processes from the connection to the mongot process. The Operator will automatically enable gRPC for existing and new workloads, and will enable mTLS authentication if both Database Server and MongoDBSearch resource are configured for TLS.
    • Exposed configuration settings for mongot's prometheus metrics endpoint.
      • By default, if spec.prometheus field is not provided then metrics endpoint in mongot is disabled. This is a breaking change. Previously the metrics endpoing was always enabled on port 9946.
      • To enable prometheus metrics endpoint specify empty spec.prometheus: field. It will enable metrics endpoint on a default port (9946). To change the port, set it in spec.prometheus.port field.
    • Simplified MongoDB Search setup: Removed the custom Search Coordinator polyfill (a piece of compatibility code previously needed to add the required permissions), as MongoDB 8.2.0 and later now include the necessary permissions via the built-in searchCoordinator role.
    • Updated the default mongodb/mongodb-search image version to 0.55.0. This is the version MCK uses if .spec.version is not specified.
    • MongoDB deployments using X509 internal cluster authentication are now supported. Previously MongoDB Search required SCRAM authentication among members of a MongoDB replica set. Note: SCRAM client authentication is still required, this change merely relaxes the requirements on internal cluster authentication.

Bug Fixes

  • Fixed parsing of the customEnvVars Helm value when values contain = characters.
  • ReplicaSet: Blocked disabling TLS and changing member count simultaneously. These operations must now be applied separately to prevent configuration inconsistencies.
  • MongoDBSearch now records the reconciled mongot version in status and exposes it via a dedicated kubectl print column.
  • Fixed inability to specify cluster-wide privileges in custom roles.

Other Changes

@lsierant lsierant added the skip-changelog Use this label in Pull Request to not require new changelog entry file label Nov 7, 2025
@anandsyncs anandsyncs merged commit 540a9e6 into master Nov 11, 2025
11 of 13 checks passed
@anandsyncs anandsyncs deleted the lsierant/archive-snippets-fixes branch November 11, 2025 11:10
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