Skip to content

fix: mongodb indexes docs #53

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

Closed
wants to merge 3 commits into from
Closed
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions codefresh/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -170,6 +180,17 @@ ingress-nginx:
--timeout 15m
```

## Post-installation steps

- Disable auto-creation of MongoDB indexes (or remove these values from `.Values`):

```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:
Expand Down