Skip to content

Commit

Permalink
added reader database support
Browse files Browse the repository at this point in the history
  • Loading branch information
adnan-kamili committed Nov 3, 2020
1 parent 8467405 commit fe2338c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cryptlex/cryptlex-enterprise/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ home: https://cryptlex.com
icon: https://cryptlex.com/images/cryptlex_icon.png
# 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.
version: 3.9.39
version: 3.10.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.
appVersion: 3.9.39
appVersion: 3.10.0
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ type: Opaque
stringData:
{{ if .Values.services.database.external }}
DATABASE_URL: {{ .Values.webApi.databaseUrl }}
DATABASE_READONLYURL: {{ .Values.webApi.databaseReadOnlyUrl }}
{{ else }}
DATABASE_URL: postgres://{{ .Values.database.user }}:{{ .Values.database.password }}@{{ .Release.Name }}-database-service:5432/{{ .Values.database.name }}
{{ end }}
Expand Down
2 changes: 2 additions & 0 deletions cryptlex/cryptlex-enterprise/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ webApi:
serverLicenseKey: PASTE_LICENSE_KEY
# The database connection string, only required in case you are using an external database.
databaseUrl: postgres://{user}:{password}@{hostname}:{port}/{database-name}
# The read only database connection string, only required in case you are using an external database.
databaseReadOnlyUrl: ""
# The passphrase to encrypt the RSA private keys.
rsaPassphrase: PASTE_RSA_SECRET
# IP rate limiting options.
Expand Down

0 comments on commit fe2338c

Please sign in to comment.