From 7ddc652559fffff3b3757ac94b59aa7d56a99abb Mon Sep 17 00:00:00 2001 From: Benjamin Kiah Stroud <32469930+bkiahstroud@users.noreply.github.com> Date: Thu, 6 Jun 2024 14:15:17 -0700 Subject: [PATCH] update helm pg deployment values --- chart/princeton-manifold/templates/configmap-env.yaml | 8 ++++---- ops/production-deploy.tmpl.yaml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/chart/princeton-manifold/templates/configmap-env.yaml b/chart/princeton-manifold/templates/configmap-env.yaml index a94a3b20cb..3f3ab2ed38 100644 --- a/chart/princeton-manifold/templates/configmap-env.yaml +++ b/chart/princeton-manifold/templates/configmap-env.yaml @@ -19,11 +19,11 @@ data: DOMAIN: princeton-manifold-production.softserv.cloud ELASTICSEARCH_URL: http://princeton-manifold-production-elasticsearch:9200 NODE_ENV: production - RAILS_DB_HOST: {{ .Values.externalPostgresql.host }} - RAILS_DB_NAME: {{ .Values.externalPostgresql.database }} - RAILS_DB_PASS: {{ .Values.externalPostgresql.password }} + RAILS_DB_HOST: princeton-manifold-production-postgresql + RAILS_DB_NAME: {{ .Values.postgresql.auth.database }} + RAILS_DB_PASS: {{ .Values.postgresql.auth.password }} RAILS_DB_PORT: "5432" - RAILS_DB_USER: {{ .Values.externalPostgresql.username }} + RAILS_DB_USER: {{ .Values.postgresql.auth.username }} RAILS_ENV: production RAILS_REDIS_URL: {{ template "princeton-manifold.redis.url" . }} RAILS_SECRET_KEY: {{ .Values.env.rails_secret_key }} diff --git a/ops/production-deploy.tmpl.yaml b/ops/production-deploy.tmpl.yaml index c08b2dac8a..6a7958c6c8 100644 --- a/ops/production-deploy.tmpl.yaml +++ b/ops/production-deploy.tmpl.yaml @@ -51,7 +51,7 @@ postgresql: image: repository: bitnami/postgresql tag: 14.5.0-debian-11-r35 - auth: + auth: database: princeton_manifold_production password: $DB_PASSWORD username: princeton_manifold