Skip to content

Commit

Permalink
fix: ssl needs to be disabled when postgres enabled (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswk authored May 16, 2024
1 parent 79df314 commit 5b26839
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
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.1
version: 4.2.2

appVersion: "5.12.2"

Expand Down
8 changes: 8 additions & 0 deletions charts/unleash/examples/debugLogging.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
env:
- name: LOG_LEVEL
value: debug
- name: MIGRATION_LOCK
value: "false"
- name: DATABASE_SSL
value: "false"

3 changes: 3 additions & 0 deletions charts/unleash/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5b26839

Please sign in to comment.