Skip to content

Commit

Permalink
Only set DATABASE_SSL to false if dbConfig.ssl is not set and postgre…
Browse files Browse the repository at this point in the history
…sql is enabled
  • Loading branch information
chriswk committed May 16, 2024
1 parent d259848 commit 58e9bbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/unleash/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ icon: https://docs.getunleash.io/img/logo.svg

type: application

version: 4.2.0
version: 4.2.1

appVersion: "5.12.2"

Expand Down
3 changes: 1 addition & 2 deletions charts/unleash/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ spec:
{{- if .Values.dbConfig.ssl }}
- name: DATABASE_SSL
value: {{ .Values.dbConfig.ssl | toJson | quote }}
{{- end }}
{{ if !.Values.dbConfig.ssl and .Values.postgresql.enabled }}
{{- else if .Values.postgresql.enabled }}
- name: DATABASE_SSL
value: "false"
{{- end }}
Expand Down

0 comments on commit 58e9bbe

Please sign in to comment.