From 6bb8754d5e93dc2f68b3061f7fea13e7d53cd813 Mon Sep 17 00:00:00 2001 From: Debdut Chakraborty Date: Mon, 8 Apr 2024 20:53:02 +0530 Subject: [PATCH] fix: don't automatically install postgresql --- rocketchat/README.md | 10 +++++++++- rocketchat/values.yaml | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/rocketchat/README.md b/rocketchat/README.md index 61274b9..f0517ff 100644 --- a/rocketchat/README.md +++ b/rocketchat/README.md @@ -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`. @@ -236,6 +236,14 @@ ingress: - ``` +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 diff --git a/rocketchat/values.yaml b/rocketchat/values.yaml index 1918bfc..b303dcd 100644 --- a/rocketchat/values.yaml +++ b/rocketchat/values.yaml @@ -357,7 +357,7 @@ federation: storage: 10Gi postgresql: - enabled: true + enabled: false auth: username: rocketchat password: rocketchat