Add the ability to specify pod labels for stable/sonarqube (#12703)

Signed-off-by: Arnfinn Sandnes <arnfinn.sandnes@gmail.com>
This commit is contained in:
Arnfinn Sandnes
2019-04-30 05:29:38 -07:00
committed by Kubernetes Prow Robot
parent 1717fda873
commit 4fc3efa855
4 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -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
+2
View File
@@ -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)
@@ -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 }}
+5
View File
@@ -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: {}