Skip to content

Commit

Permalink
update helm pg deployment values
Browse files Browse the repository at this point in the history
  • Loading branch information
bkiahstroud committed Jun 6, 2024
1 parent ab44984 commit 7ddc652
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions chart/princeton-manifold/templates/configmap-env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion ops/production-deploy.tmpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7ddc652

Please sign in to comment.