Skip to content

Commit

Permalink
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/terrakube/Chart.yaml
Original file line number Diff line number Diff line change
@@ -15,13 +15,13 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 3.7.3
version: 3.8.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "2.14.2"
appVersion: "2.15.0"

dependencies:
- name: minio
2 changes: 2 additions & 0 deletions charts/terrakube/templates/secrets-api.yaml
Original file line number Diff line number Diff line change
@@ -77,12 +77,14 @@ stringData:
DatasourceUser: '{{ .Values.postgresql.auth.username}}'
DatasourcePassword: '{{ .Values.postgresql.auth.password }}'
ApiDataSourceType: 'POSTGRESQL'
DatasourceSslMode: '{{ .Values.api.properties.databaseSslMode }}'
{{ else }}
ApiDataSourceType: '{{ .Values.api.properties.databaseType }}'
DatasourceHostname: '{{ .Values.api.properties.databaseHostname }}'
DatasourceDatabase: '{{ .Values.api.properties.databaseName }}'
DatasourceUser: '{{ .Values.api.properties.databaseUser }}'
DatasourcePassword: '{{ .Values.api.properties.databasePassword }}'
DatasourceSslMode: '{{ .Values.api.properties.databaseSslMode }}'
{{- end }}


4 changes: 4 additions & 0 deletions charts/terrakube/values.yaml
Original file line number Diff line number Diff line change
@@ -171,6 +171,10 @@ api:
databaseName: ""
databaseUser: ""
databasePassword: ""
databaseSslMode: "disable"

## SslMode values are disable, allow, prefer, require, verify-ca, verify-full. Default mode is "disable".
## Reference: https://jdbc.postgresql.org/documentation/publicapi/org/postgresql/PGProperty.html#SSL_MODE

## Executor properties
executor:

0 comments on commit 2834f9d

Please sign in to comment.