Skip to content

Add jsyaml to parse mongod.conf (especially to remove problematic sections for our initdb logic) #225

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 20, 2017

Conversation

tianon
Copy link
Member

@tianon tianon commented Dec 20, 2017

This builds on the functionality added in #145 (improved in #183), and the request for documentation in #189).

More specifically, this adjusts our docker-entrypoint.sh to use a YAML parser to convert a supplied YAML mongod configuration file into JSON so that we can parse/munge it with jq such that we can remove problematic configuration options for our "initdb" logic (such as SSL or authorization configuration).

This removes our longest-standing TODO item with this functionality, and the primary reason for it still being considered experimental (and thus not being documented, as noted in #189).

Closes #148
Closes #172
Closes #176

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants