Skip to content

Commit

Permalink
Configure ssl for database connection
Browse files Browse the repository at this point in the history
Signed-off-by: Prabhu Jayakumar <[email protected]>
  • Loading branch information
prabhu43 committed May 31, 2021
1 parent 043b81a commit 550d8e7
Show file tree
Hide file tree
Showing 3 changed files with 4 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 @@ -16,4 +16,4 @@ sources:
- https://github.com/Unleash/unleash-docker
- https://github.com/Unleash/helm-charts
type: application
version: 1.1.0
version: 1.1.1
2 changes: 2 additions & 0 deletions charts/unleash/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ spec:
value: "{{ .Values.dbConfig.port }}"
- name: DATABASE_USER
value: "{{ .Values.dbConfig.user }}"
- name: DATABASE_SSL
value: "{{ .Values.dbConfig.ssl | default "false" }}"
- name: DATABASE_URL
value: "postgres://$(DATABASE_USER):$(DATABASE_PASS)@$(DATABASE_HOST):$(DATABASE_PORT)/$(DATABASE)"
{{- if .Values.env }}
Expand Down
1 change: 1 addition & 0 deletions charts/unleash/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ dbConfig:
key: ""
# if postgres dependency chart is used, this needs to be the same value as postgresql.postgresqlUsername
user: unleash
ssl: false

env: []
# - name: GOOGLE_CLIENT_ID
Expand Down

0 comments on commit 550d8e7

Please sign in to comment.