diff --git a/stable/sonarqube/Chart.yaml b/stable/sonarqube/Chart.yaml index c62e6da8c3..4c42a5cf51 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.15.2 +version: 0.16.0 appVersion: 7.7 keywords: - coverage diff --git a/stable/sonarqube/README.md b/stable/sonarqube/README.md index 4c505cb61e..a56d57fe8d 100644 --- a/stable/sonarqube/README.md +++ b/stable/sonarqube/README.md @@ -86,6 +86,8 @@ The following table lists the configurable parameters of the Sonarqube chart and | `plugins.resources` | Plugin Pod resource requests & limits | `{}` | | `plugins.initContainerImage` | Change init container image | `[]` | | `plugins.deleteDefaultPlugins` | Remove default plugins and use plugins.install list | `[]` | +| `podLabels` | Map of labels to add to the pods | `{}` | + You can also configure values for the PostgreSQL / MySQL database via the Postgresql [README.md](https://github.com/kubernetes/charts/blob/master/stable/postgresql/README.md) / MySQL [README.md](https://github.com/kubernetes/charts/blob/master/stable/mysql/README.md) diff --git a/stable/sonarqube/templates/deployment.yaml b/stable/sonarqube/templates/deployment.yaml index 6362ac6c57..aa2dec0723 100644 --- a/stable/sonarqube/templates/deployment.yaml +++ b/stable/sonarqube/templates/deployment.yaml @@ -14,6 +14,9 @@ spec: labels: app: {{ template "sonarqube.name" . }} release: {{ .Release.Name }} +{{- with .Values.podLabels }} +{{ toYaml . | indent 8 }} +{{- end }} spec: securityContext: {{ toYaml .Values.securityContext | indent 8 }} diff --git a/stable/sonarqube/values.yaml b/stable/sonarqube/values.yaml index a82357bf8c..f3c4d843bb 100755 --- a/stable/sonarqube/values.yaml +++ b/stable/sonarqube/values.yaml @@ -176,3 +176,8 @@ mysql: # Specify the TCP port that mySQL should use service: port: 3306 +# +# Additional labels to add to the pods: +# podLabels: +# key: value +podLabels: {}