Skip to content

Commit

Permalink
Merge pull request #15 from prabhu43/master
Browse files Browse the repository at this point in the history
Configure ssl for database connection
  • Loading branch information
ivarconr authored May 31, 2021
2 parents 043b81a + 550d8e7 commit 1735e9f
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 1735e9f

Please sign in to comment.