Skip to content

Commit

Permalink
fix(unleash): set DATABASE_SSL to false when no ssl config is availab…
Browse files Browse the repository at this point in the history
…le (#161)
  • Loading branch information
joel-teratis authored Jul 31, 2024
1 parent 68731b8 commit 18d534c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 5.1.4
version: 5.1.5

appVersion: "6.0.6"

Expand Down
2 changes: 1 addition & 1 deletion charts/unleash/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ spec:
{{- if .Values.dbConfig.ssl }}
- name: DATABASE_SSL
value: {{ .Values.dbConfig.ssl | toJson | quote }}
{{- else if .Values.postgresql.enabled }}
{{- else if and (not .Values.dbConfig.sslConfigFile) (not .Values.dbConfig.sslCaFile) (not .Values.dbConfig.sslKeyFile) (not .Values.dbConfig.sslCertFile) (not .Values.dbConfig.sslRejectUnauthorized) }}
- name: DATABASE_SSL
value: "false"
{{- end }}
Expand Down

0 comments on commit 18d534c

Please # to comment.