mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
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:
committed by
Kubernetes Prow Robot
parent
1717fda873
commit
4fc3efa855
@@ -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
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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: {}
|
||||
|
||||
Reference in New Issue
Block a user