Skip to content

Commit

Permalink
Merge pull request #141 from RocketChat/dont-start-postgres-by-default
Browse files Browse the repository at this point in the history
fix: don't automatically install postgresql
  • Loading branch information
debdutdeb authored Apr 8, 2024
2 parents 1636f84 + 6bb8754 commit a2649e9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion rocketchat/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ The following table lists the configurable parameters of the Rocket.Chat chart a
| `federation.image.registry` | Image registry to use for federation image, defaults to `docker.io`
| `federation.image.tag` | Image tag to use for federation image, defaults to `latest`
| `federation.persistence.enabled` | Enabling persistence for matrix pod
| `postgresql.enabled` | Enabling postgresql for matrix (synapse), defaults to true, if false, uses sqlite
| `postgresql.enabled` | Enabling postgresql for matrix (synapse), defaults to false, if false, uses sqlite

Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.

Expand Down Expand Up @@ -236,6 +236,14 @@ ingress:
- <matrix domain>
```

For production, postgres is recommended. Enabled postgres
```yaml
postgresql:
enabled: true
```

For more details on configs, check [postgresql chart](https://artifacthub.io/packages/helm/bitnami/postgresql).

Since TLS is required, also make sure you have something like cert-manager is running on your cluster, and you add the annotations to the ingress with `ingress.annotations` (or whatever is the recommended way for your certificate issuer).

## Upgrading
Expand Down
2 changes: 1 addition & 1 deletion rocketchat/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ federation:
storage: 10Gi

postgresql:
enabled: true
enabled: false
auth:
username: rocketchat
password: rocketchat
Expand Down

0 comments on commit a2649e9

Please sign in to comment.