Skip to content

Commit

Permalink
Check for null driverUri (pegasystems#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
dcasavant authored Jan 9, 2020
1 parent 781fbc7 commit 678753f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ data:
JDBC_URL: {{ .Values.global.jdbc.url }}
# Class name of the DB's JDBC driver
JDBC_CLASS: {{ .Values.global.jdbc.driverClass }}
{{- if .Values.global.jdbc.driverUri }}
# URI that the JDBC driver can be downloaded from
JDBC_DRIVER_URI: {{ .Values.global.jdbc.driverUri }}
{{- end }}
# Rules schema of the Pega installation
RULES_SCHEMA: {{ .Values.global.jdbc.rulesSchema }}
# Data schema of the Pega installation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ data:
JDBC_URL: {{ .Values.global.jdbc.url }}
# Class name of the DB's JDBC driver
JDBC_CLASS: {{ .Values.global.jdbc.driverClass }}
{{- if .Values.global.jdbc.driverUri }}
# URI that the JDBC driver can be downloaded from
JDBC_DRIVER_URI: {{ .Values.global.jdbc.driverUri }}
{{- end }}
# Rules schema of the Pega installation
RULES_SCHEMA: {{ .Values.global.jdbc.rulesSchema }}
# Data schema of the Pega installation
Expand Down
2 changes: 2 additions & 0 deletions charts/pega/templates/pega-environment-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ data:
JDBC_URL: {{ .Values.global.jdbc.url }}
# Class name of the DB's JDBC driver
JDBC_CLASS: {{ .Values.global.jdbc.driverClass }}
{{- if .Values.global.jdbc.driverUri }}
# URI that the JDBC driver can be downloaded from
JDBC_DRIVER_URI: {{ .Values.global.jdbc.driverUri }}
{{- end }}
{{- if .Values.global.jdbc.connectionProperties }}
# The connection properties that will be sent to our JDBC driver when establishing new connections
JDBC_CONNECTION_PROPERTIES: {{ .Values.global.jdbc.connectionProperties }}
Expand Down

0 comments on commit 678753f

Please sign in to comment.