diff --git a/sonarqube/chart/Chart.yaml b/sonarqube/chart/Chart.yaml index 771414d5a..8f7167d65 100644 --- a/sonarqube/chart/Chart.yaml +++ b/sonarqube/chart/Chart.yaml @@ -15,7 +15,7 @@ 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: 1.1.0 +version: 1.1.1 # 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 diff --git a/sonarqube/chart/templates/dc-sonar.yaml b/sonarqube/chart/templates/dc-sonar.yaml index 6355cc1d1..9c3e20de0 100644 --- a/sonarqube/chart/templates/dc-sonar.yaml +++ b/sonarqube/chart/templates/dc-sonar.yaml @@ -84,7 +84,10 @@ spec: - name: SONAR_SEARCH_JAVAADDITIONALOPTS value: '-Dlog4j2.formatMsgNoLookups=true' - name: SONARQUBE_JDBC_URL - value: 'jdbc:postgresql://{{ .Values.global.appName }}-postgresql:5432/sonarqube' + valueFrom: + configMapKeyRef: + name: {{ .Values.global.appName }} + key: database-jdbc-url - name: SONAR_FORCEAUTHENTICATION value: 'true' - name: SONAR_AUTH_SAML_ENABLED