MCK 1.6.0 Release Notes
New Features
- MongoDBCommunity: Added support to configure custom cluster domain via newly introduced
spec.clusterDomainresource field. Ifspec.clusterDomainis not set, environment variableCLUSTER_DOMAINis used as cluster domain. If the environment variableCLUSTER_DOMAINis also not set, operator falls back tocluster.localas default cluster domain. - Helm Chart: Introduced two new helm fields
operator.podSecurityContextandoperator.securityContextthat can be used to configuresecurityContextfor Operator deployment through Helm Chart. - MongoDBSearch:
- Switched to gRPC and mTLS for internal communication between mongod and mongot.
- Since MCK 1.4 the
mongodandmongotprocessess 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 multiplemongotprocesses in the future, and mTLS decouples the internal cluster authentication mode and credentials amongmongodprocesses from the connection to themongotprocess. The Operator will automatically enable gRPC for existing and new workloads, and will enable mTLS authentication if both Database Server andMongoDBSearchresource are configured for TLS.
- Since MCK 1.4 the
- Exposed configuration settings for mongot's prometheus metrics endpoint.
- By default, if
spec.prometheusfield 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 inspec.prometheus.portfield.
- By default, if
- 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-searchimage version to 0.55.0. This is the version MCK uses if.spec.versionis 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.
- Switched to gRPC and mTLS for internal communication between mongod and mongot.
Bug Fixes
- Fixed parsing of the
customEnvVarsHelm 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
- kubectl-mongodb plugin:
cosign, the signing tool that is used to signkubectl-mongodbplugin binaries, has been updated to version3.0.2. With this change, released binaries will be bundled with.bundlefiles containing both signature and certificate information. For more information on how to verify signatures using newcosignversion please refer to -> https://github.com/sigstore/cosign/blob/v3.0.2/doc/cosign_verify-blob.md