From 58e9bbe89e83342cf1029dafd0ec535742cd564b Mon Sep 17 00:00:00 2001 From: Christopher Kolstad Date: Thu, 16 May 2024 13:24:21 +0200 Subject: [PATCH] Only set DATABASE_SSL to false if dbConfig.ssl is not set and postgresql is enabled --- charts/unleash/Chart.yaml | 2 +- charts/unleash/templates/deployment.yaml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/charts/unleash/Chart.yaml b/charts/unleash/Chart.yaml index b91577b..72d0639 100644 --- a/charts/unleash/Chart.yaml +++ b/charts/unleash/Chart.yaml @@ -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" diff --git a/charts/unleash/templates/deployment.yaml b/charts/unleash/templates/deployment.yaml index a5fbf82..a5b156a 100644 --- a/charts/unleash/templates/deployment.yaml +++ b/charts/unleash/templates/deployment.yaml @@ -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 }}