Skip to content

Conversation

@filipcirtog
Copy link

@filipcirtog filipcirtog commented Oct 29, 2025

Summary

This PR is not intended for merging and is neither clean nor ready for review.

This is a proof of concept (POC) for creating two Kubernetes secrets (which will be later merged into one) containing a password and key, which was intended to enable project migration for a sharded MongoDB deployment. However, we're encountering (the same) issue during the process.

The error message observed is as follows:

ster-scram-sha-256-config-0.sharded-cluster-scram-sha-256-cs.mongodb-test.svc.cluster.local:27017 (local=false, router=false) determined to be down due to error=[13:17:30.047] Non-TLS attempt failed : dial tcp 10.244.0.43:27017: connect: connection refused

One notable finding is that after the recreation of the mongos pod in the new project, the pod appears to have an empty keyfile. This may be related to the ongoing issue and requires further investigation to understand its cause and potential solutions.

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?
@github-actions
Copy link

github-actions bot commented Oct 29, 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.

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.

Other Changes

  • kubectl-mongodb plugin: cosign, the signing tool that is used to sign kubectl-mongodb plugin binaries, has been updated to version 3.0.2. With this change, released binaries will be bundled with .bundle files containing both signature and certificate information. For more information on how to verify signatures using new cosign version please refer to -> https://github.com/sigstore/cosign/blob/v3.0.2/doc/cosign_verify-blob.md
@filipcirtog filipcirtog changed the title CLOUDP-328217: Automation agent password and key changed when changing projects CLOUDP-328217: Automation agent password secret Oct 31, 2025
@filipcirtog
Copy link
Author

closed in favour of #566

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants