mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/sonarqube] added parameter for custom mysql parameters (#7925)
Signed-off-by: Raza Jhaveri <razajhaveri@googlemail.com>
This commit is contained in:
committed by
k8s-ci-robot
parent
b430bbf92c
commit
85c03800b9
@@ -1,6 +1,6 @@
|
||||
name: sonarqube
|
||||
description: Sonarqube is an open sourced code quality scanning tool
|
||||
version: 0.9.1
|
||||
version: 0.10.1
|
||||
appVersion: 6.7.3
|
||||
keywords:
|
||||
- coverage
|
||||
|
||||
@@ -65,6 +65,7 @@ The following table lists the configurable parameters of the Sonarqube chart and
|
||||
| `mysql.mysqlUser` | Mysql database user | `sonarUser` |
|
||||
| `mysql.mysqlPassword` | Mysql database password | `sonarPass` |
|
||||
| `mysql.mysqlDatabase` | Mysql database name | `sonarDB` |
|
||||
| `mysql.mysqlParams` | Mysql parameters for JDBC connection string | `{}` |
|
||||
| `mysql.service.port` | Mysql port | `3306` |
|
||||
| `resources` | Sonarqube Pod resource requests & limits | `{}` |
|
||||
| `affinity` | Node / Pod affinities | `{}` |
|
||||
|
||||
@@ -101,7 +101,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" . }}:{{ .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{{- range $key, $value := .Values.mysql.mysqlParams }}&{{ $key }}={{ $value }}{{- end }}"
|
||||
{{- end }}
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
|
||||
@@ -139,6 +139,8 @@ mysql:
|
||||
mysqlUser: "sonarUser"
|
||||
mysqlPassword: "sonarPass"
|
||||
mysqlDatabase: "sonarDB"
|
||||
# mysqlParams:
|
||||
# useSSL: "true"
|
||||
# Specify the TCP port that mySQL should use
|
||||
service:
|
||||
port: 3306
|
||||
|
||||
Reference in New Issue
Block a user