Skip to content

Commit 41d3ba4

Browse files
authored
chore(helm): render external database URL if it is set (#7036)
1 parent 9bf9c8a commit 41d3ba4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/helm/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ spec:
5151
{{- end }}
5252
- name: DB_TYPE
5353
value: postgres
54-
{{- if (.Values.externalPostgresql).databaseURL }}
54+
{{- if and .Values.externalPostgresql .Values.externalPostgresql.databaseURL }}
5555
- name: DATABASE_URL
5656
value: {{ .Values.externalPostgresql.databaseURL }}
5757
- name: NODE_TLS_REJECT_UNAUTHORIZED

0 commit comments

Comments
 (0)