bitnami / containers

Bitnami container images
https://bitnami.com
Other
3.37k stars 4.83k forks source link

[bitnami/mongodb] can't use MONGODB_REPLICA_SET_MODE with value "dynamic" #72516

Closed guilherme-m-henriques-alb closed 2 weeks ago

guilherme-m-henriques-alb commented 1 month ago

Name and Version

bitnami/mongodb:7.0.14

What is the problem this feature will solve?

I can see in the source code that MONGODB_REPLICA_SET_MODE can have the value dynamic, but it is not an accepted value. Is it possible to use this feature somehow? I would like to know if this is intended for future use or if there's a workaround to enable it.

What is the feature you are proposing to solve the problem?

Document or support the dynamic value for MONGODB_REPLICA_SET_MODE, if it is meant to be functional. Alternatively, provide more clarity on its purpose and how users might utilize it.

guilherme-m-henriques-alb commented 1 month ago

This feature would be very helpful for deployments in kubernetes using a single statefulset for both primary + secondary members.

carrodher commented 1 month ago

You can set any supported value for that variable, please take a look at the README where it is described and used in some examples

github-actions[bot] commented 3 weeks ago

This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.

github-actions[bot] commented 2 weeks ago

Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.