diff --git a/charts/unleash/Chart.yaml b/charts/unleash/Chart.yaml index 72d0639..ea3d078 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.1 +version: 4.2.2 appVersion: "5.12.2" diff --git a/charts/unleash/examples/debugLogging.yaml b/charts/unleash/examples/debugLogging.yaml new file mode 100644 index 0000000..6857485 --- /dev/null +++ b/charts/unleash/examples/debugLogging.yaml @@ -0,0 +1,8 @@ +env: + - name: LOG_LEVEL + value: debug + - name: MIGRATION_LOCK + value: "false" + - name: DATABASE_SSL + value: "false" + diff --git a/charts/unleash/templates/deployment.yaml b/charts/unleash/templates/deployment.yaml index 72584f3..a5b156a 100644 --- a/charts/unleash/templates/deployment.yaml +++ b/charts/unleash/templates/deployment.yaml @@ -51,6 +51,9 @@ spec: {{- if .Values.dbConfig.ssl }} - name: DATABASE_SSL value: {{ .Values.dbConfig.ssl | toJson | quote }} + {{- else if .Values.postgresql.enabled }} + - name: DATABASE_SSL + value: "false" {{- end }} {{- if .Values.dbConfig.schema }} - name: DATABASE_SCHEMA