Skip to content

Commit

Permalink
Merge pull request #431 from hellofresh/patch/helm-chart
Browse files Browse the repository at this point in the history
Make .Values.deployment.databaseDSN optional
  • Loading branch information
Anton Ustyuzhanin authored Jan 20, 2020
2 parents 10d2b39 + 79eea17 commit 255021f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion janus/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,10 @@ spec:
value: {{ $value | quote }}
{{- end }}
{{- end }}
{{- with .Values.deployment.databaseDSN }}
- name: "DATABASE_DSN"
value: "{{ .Values.deployment.databaseDSN }}"
value: "{{ . }}"
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }}
Expand Down

0 comments on commit 255021f

Please sign in to comment.