Customize a new instance
Improve this page by contributing to our documentation.
The Bitnami MongoDB® image supports the use of custom scripts to initialize a fresh instance. In order to execute the scripts, two options are available:
-
Specify them using the initdbScripts parameter as dict.
-
Define an external Kubernetes ConfigMap with all the initialization scripts by setting the initdbScriptsConfigMap parameter. Note that this will override the previous option.
The allowed script extensions are .sh and .js.