From 2bb0f2aa5d3d570d568f5d2c333c95f3905de262 Mon Sep 17 00:00:00 2001 From: kjeld Schouten-Lebbing Date: Sun, 12 Dec 2021 01:28:29 +0100 Subject: [PATCH] fix(common): support some different jdbc url's for mariadb injector --- charts/library/common/Chart.yaml | 2 +- .../common/templates/lib/dependencies/_mariadbInjector.tpl | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/charts/library/common/Chart.yaml b/charts/library/common/Chart.yaml index ba28a3825d6..28118c2b569 100644 --- a/charts/library/common/Chart.yaml +++ b/charts/library/common/Chart.yaml @@ -15,4 +15,4 @@ maintainers: name: common sources: null type: library -version: 8.9.18 +version: 8.9.19 diff --git a/charts/library/common/templates/lib/dependencies/_mariadbInjector.tpl b/charts/library/common/templates/lib/dependencies/_mariadbInjector.tpl index e61c8d40d99..a67874cab5a 100644 --- a/charts/library/common/templates/lib/dependencies/_mariadbInjector.tpl +++ b/charts/library/common/templates/lib/dependencies/_mariadbInjector.tpl @@ -32,6 +32,8 @@ data: plainporthost: {{ ( printf "%v-%v:3306" .Release.Name "mariadb" ) | b64enc | quote }} plainhost: {{ ( printf "%v-%v" .Release.Name "mariadb" ) | b64enc | quote }} jdbc: {{ ( printf "jdbc:sqlserver://%v-mariadb:3306/%v" .Release.Name .Values.mariadb.mariadbDatabase ) | b64enc | quote }} + jdbc-mysql: {{ ( printf "jdbc:mysql://%v-mariadb:3306/%v" .Release.Name .Values.mariadb.mariadbDatabase ) | b64enc | quote }} + jdbc-mariadb: {{ ( printf "jdbc:mariadb://%v-mariadb:3306/%v" .Release.Name .Values.mariadb.mariadbDatabase ) | b64enc | quote }} type: Opaque {{- $_ := set .Values.mariadb "mariadbPassword" ( $dbPass | quote ) }} {{- $_ := set .Values.mariadb "mariadbRootPassword" ( $rootPass | quote ) }}