From 41c4fc9d415af4c95e3a88f6a4dcd3a1a7cd342b Mon Sep 17 00:00:00 2001 From: Darshan Simha Date: Fri, 2 Feb 2024 09:08:10 -0500 Subject: [PATCH] fix: critical fix to documentation for fixing the issue with k8's deployments Signed-off-by: Darshan Simha --- docs/deployment/k8s.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/deployment/k8s.md b/docs/deployment/k8s.md index b0218c8657..dee972f84d 100644 --- a/docs/deployment/k8s.md +++ b/docs/deployment/k8s.md @@ -397,6 +397,19 @@ backend: password: ${POSTGRES_PASSWORD} ``` +Please also change the host and port environment variables in the `app-config.production.yaml` to the following: + +```yaml +backend: + database: + client: pg + connection: + host: ${POSTGRES_SERVICE_HOST} + port: ${POSTGRES_SERVICE_PORT} + user: ${POSTGRES_USER} + password: ${POSTGRES_PASSWORD} +``` + Make sure to rebuild the Docker image after applying `app-config.yaml` changes. Apply this Deployment to the Kubernetes cluster: