Red Hat Bugzilla – Bug 1310534
[RFE] Add ability to pass additional parameters to mongodb
Last modified: 2016-09-28 07:38:16 EDT
Description of problem:
Standard mongodb image from redhat repository does not allow to pass additional parameters to mongodb database.
I need to enable text search on MongoDB: https://docs.mongodb.org/v2.4/tutorial/enable-text-search/ but there is no way to achieve this
Version-Release number of selected component (if applicable):
Steps to Reproduce:
There are 2 ways to do this now:
- Extend the mongodb image and update the config
- Mount in the config you want to change through a PV
This is now merged in upstream GIT, should be available as soon as the new images are pushed out.
https://github.com/openshift/mongodb/pull/145 pr have revert , failed QA here.
Michal, what PR was this referring to that merged:
"This is now merged in upstream GIT, should be available as soon as the new images are pushed out."
PR 145 was only about text searching so that should not have been used to close this (nor the PR that ultimately re-implemented PR 145 after it was reverted).
The original request (first comment) requests only text searching, not allowing to pass any arbitrary parameters.
Thanks Michal, i skimmed right over that second sentence.
QA please re-verify, checking only the text searching feature (which is only a 2.4 feature, there is no configuration for it in 2.6)
verified with mongodb24 image:
openshift3/mongodb-24-rhel7 latest 633ad321708b