Skip to content

Commit

Permalink
fix: differentiate between postgresql_url & db_url on the different p…
Browse files Browse the repository at this point in the history
…ackages
  • Loading branch information
levivannoort committed Aug 27, 2023
1 parent ede6550 commit 9fe1734
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion plugin-api/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: plugin-api
description: A Helm chart for the plugin-api component of Amplication

type: application
version: 2.0.2
version: 2.0.3
appVersion: "0.0.0"

sources:
Expand Down
4 changes: 2 additions & 2 deletions plugin-api/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ spec:
command: ["/bin/sh"]
args: ["-c", "npx prisma migrate deploy --schema prisma/schema.prisma", ";", "exit"]
env:
- name: POSTGRESQL_URL
- name: DB_URL
valueFrom:
secretKeyRef:
name: {{ include "plugin-api.fullname" . }}-variables
key: POSTGRESQL_URL
key: DB_URL
optional: false
containers:
- name: {{ .Chart.Name }}
Expand Down
2 changes: 1 addition & 1 deletion server/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: server
description: A Helm chart for the server component of Amplication

type: application
version: 2.0.2
version: 2.0.3
appVersion: "0.0.0"

sources:
Expand Down
2 changes: 1 addition & 1 deletion server/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ spec:
- name: POSTGRESQL_URL
valueFrom:
secretKeyRef:
name: {{ include "server.fullname" . }}
name: {{ include "server.fullname" . }}-variables
key: POSTGRESQL_URL
optional: false
containers:
Expand Down

0 comments on commit 9fe1734

Please sign in to comment.