Skip to content

Commit 255021f

Browse files
author
Anton Ustyuzhanin
authored
Merge pull request #431 from hellofresh/patch/helm-chart
Make .Values.deployment.databaseDSN optional
2 parents 10d2b39 + 79eea17 commit 255021f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

janus/templates/deployment.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,10 @@ spec:
4949
value: {{ $value | quote }}
5050
{{- end }}
5151
{{- end }}
52+
{{- with .Values.deployment.databaseDSN }}
5253
- name: "DATABASE_DSN"
53-
value: "{{ .Values.deployment.databaseDSN }}"
54+
value: "{{ . }}"
55+
{{- end }}
5456
resources:
5557
{{- toYaml .Values.resources | nindent 12 }}
5658
{{- with .Values.nodeSelector }}

0 commit comments

Comments
 (0)