From 4fcddd667be45ecbb1d24f50e32c38ad2c40274b Mon Sep 17 00:00:00 2001 From: Johannes Brunswicker Date: Thu, 14 Jun 2018 14:14:27 +0200 Subject: [PATCH] Fixes error introduced by #6042 (#6104) * fix for #6039 * chart version bump * fix error introduced by PR #6042 --- stable/sonarqube/Chart.yaml | 2 +- stable/sonarqube/templates/deployment.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stable/sonarqube/Chart.yaml b/stable/sonarqube/Chart.yaml index 57352c0362..51fa253ab5 100644 --- a/stable/sonarqube/Chart.yaml +++ b/stable/sonarqube/Chart.yaml @@ -1,6 +1,6 @@ name: sonarqube description: Sonarqube is an open sourced code quality scanning tool -version: 0.7.1 +version: 0.7.2 appVersion: 6.7.3 keywords: - coverage diff --git a/stable/sonarqube/templates/deployment.yaml b/stable/sonarqube/templates/deployment.yaml index dab1098eb8..b2a548a427 100644 --- a/stable/sonarqube/templates/deployment.yaml +++ b/stable/sonarqube/templates/deployment.yaml @@ -93,7 +93,7 @@ spec: {{- if eq .Values.database.type "postgresql" }} value: "jdbc:postgresql://{{ template "postgresql.hostname" . }}:{{- .Values.postgresql.service.port -}}/{{- .Values.postgresql.postgresDatabase -}}" {{- else if eq .Values.database.type "mysql" }} - value: "jdbc:mysql://{{ template "mysql.hostname" . }}-mysql:{{ .Values.mysql.service.port }}/{{ .Values.mysql.mysqlDatabase }}?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true" + value: "jdbc:mysql://{{ template "mysql.hostname" . }}:{{ .Values.mysql.service.port }}/{{ .Values.mysql.mysqlDatabase }}?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true" {{- end }} livenessProbe: httpGet: