Skip to content

Commit

Permalink
Adding databasePort property for MYSQL (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
alfespa17 authored Aug 31, 2023
1 parent 6874d1a commit 1b3753c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/terrakube/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.8.2
version: 3.8.3

# 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.15.2"
appVersion: "2.15.3"

dependencies:
- name: minio
Expand Down
1 change: 1 addition & 0 deletions charts/terrakube/templates/secrets-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ stringData:
DatasourceUser: '{{ .Values.api.properties.databaseUser }}'
DatasourcePassword: '{{ .Values.api.properties.databasePassword }}'
DatasourceSslMode: '{{ .Values.api.properties.databaseSslMode }}'
DatasourcePort: '{{ .Values.api.properties.databasePort }}'
{{- end }}


Expand Down
3 changes: 3 additions & 0 deletions charts/terrakube/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,9 @@ api:
databaseUser: ""
databasePassword: ""
databaseSslMode: "disable"
databasePort: "3306"

## The database port is only used for mysql databases

## 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
Expand Down

0 comments on commit 1b3753c

Please sign in to comment.