diff --git a/codefresh/README.md b/codefresh/README.md index 2159cd66a..bc30bddc0 100644 --- a/codefresh/README.md +++ b/codefresh/README.md @@ -9,6 +9,7 @@ Helm chart for deploying [Codefresh On-Premises](https://codefresh.io/docs/docs/ - [Prerequisites](#prerequisites) - [Get Repo Info](#get-repo-info) - [Install Chart](#install-chart) +- [Post-installation steps](#post-installation-steps) - [Chart Configuration](#chart-configuration) - [Persistent services](#persistent-services) - [Configuring external services](#configuring-external-services) @@ -117,6 +118,15 @@ global: # key: firebase-secret ``` +- Specify `.Values.global.env.MONGO_AUTOMATIC_INDEX_CREATION` and `.Values.global.env.MONGO_AUTOMATIC_INDEX_CREATION` + +```yaml +global: + env: + MONGO_AUTOMATIC_INDEX_CREATION: "true" + MONGOOSE_AUTO_INDEX: "true" +``` + - Specify `.Values.ingress.tls.cert` and `.Values.ingress.tls.key` OR `.Values.ingress.tls.existingSecret` ```yaml @@ -170,6 +180,17 @@ ingress-nginx: --timeout 15m ``` +## Post-installation steps + +- Before moving to production, MongoDB indexes auto-creation must be disabled by either setting the appropriate values to `false` or removing those properties from `.Values` file: + +```yaml +global: + env: + MONGO_AUTOMATIC_INDEX_CREATION: "false" + MONGOOSE_AUTO_INDEX: "false" +``` + ## Chart Configuration See [Customizing the Chart Before Installing](https://helm.sh/docs/intro/using_helm/#customizing-the-chart-before-installing). To see all configurable options with detailed comments, visit the chart's [values.yaml](./values.yaml), or run these configuration commands: