Skip to content

Commit ad0c5ae

Browse files
committed
fix env vars
1 parent 6a7f8a7 commit ad0c5ae

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

charts/edgedb/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ apiVersion: v2
22
name: edgedb
33
description: A Helm chart for self hosting EdgeDB
44
type: application
5-
version: 0.1.43
5+
version: 0.1.44
66
appVersion: "5.6"

charts/edgedb/templates/deployment.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ spec:
3030
initContainers:
3131
{{- if .Values.postgres.enabled }}
3232
- name: wait-for-postgres
33-
image: postgres:15-alpine # Using postgres image for pg_isready tool
33+
image: postgres:16-alpine # Using postgres image for pg_isready tool
3434
env:
3535
- name: EDGEDB_SERVER_BACKEND_DSN
3636
{{- if kindIs "string" .Values.postgres.dsn }}
@@ -41,7 +41,7 @@ spec:
4141
command: ['sh', '-c']
4242
args:
4343
- |
44-
until pg_isready -d "$EDGEDB_POSTGRES_DSN"; do
44+
until pg_isready -d "$EDGEDB_SERVER_BACKEND_DSN"; do
4545
echo "Waiting for postgres..."
4646
sleep 2
4747
done
@@ -70,7 +70,7 @@ spec:
7070
{{- if not .Values.postgres.dsn }}
7171
{{- fail "You must provide a postgres dsn value if postgres is enabled" }}
7272
{{- end }}
73-
- name: EDGEDB_POSTGRES_DSN
73+
- name: EDGEDB_SERVER_BACKEND_DSN
7474
{{- if kindIs "string" .Values.postgres.dsn }}
7575
value: {{ .Values.postgres.dsn }}
7676
{{- else }}

0 commit comments

Comments
 (0)