CLOUDP-328217: Automation agent password secret #560
   Closed  
   Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.    
 
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 refusedOne 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
skip-changeloglabel if not needed