Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Submitted
Categories Kubernetes
Created by Guest
Created on Nov 3, 2023

Add options to the connection string through the MongoDBUser

We would like to add options to the connection string that is generated by the operator when creating a new MongoDBUser. The idea is to include these options in the MongoDBUser CRD so the operator can then add them to the connectionString stored in the generated secret.
  • Guest
    Nov 3, 2023
    We are trying to mimic what you can do in ATLAS: https://www.mongodb.com/blog/post/introducing-ability-independently-scale-atlas-analytics-node-tiers A standard replica set contains a primary node for reads and writes and two secondary nodes that are read only. Analytics nodes provide an additional read-only node that is dedicated to analytical reads. We were able to add a new node to the replica set, have it tagged and with no votes and lower priority, even with potenttialy a different quality in its persistent volumes, so would lilke to have a connection string customized to include the readPreferenceTags. We filed a support case, but this is not currently supported in the Operator/MongoDBUser.