mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/sonarqube] add annotations (#15675)
* Add annotations to pvc and pods Signed-off-by: Yohan Bontemps <revenant75@hotmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
0ae5180276
commit
fefd3161a6
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
name: sonarqube
|
||||
description: Sonarqube is an open sourced code quality scanning tool
|
||||
version: 2.1.1
|
||||
version: 2.1.2
|
||||
appVersion: 7.8
|
||||
keywords:
|
||||
- coverage
|
||||
|
||||
@@ -58,6 +58,7 @@ The following table lists the configurable parameters of the Sonarqube chart and
|
||||
| `service.loadBalancerSourceRanges` | Kubernetes service LB Allowed inbound IP addresses | 0.0.0.0/0 |
|
||||
| `service.loadBalancerIP` | Kubernetes service LB Optional fixed external IP | None |
|
||||
| `persistence.enabled` | Flag for enabling persistent storage | false |
|
||||
| `persistence.annotations` | Kubernetes pvc annotations | `{}` |
|
||||
| `persistence.existingClaim` | Do not create a new PVC but use this one | None |
|
||||
| `persistence.storageClass` | Storage class to be used | "-" |
|
||||
| `persistence.accessMode` | Volumes access mode to be set | `ReadWriteOnce` |
|
||||
@@ -83,6 +84,7 @@ The following table lists the configurable parameters of the Sonarqube chart and
|
||||
| `mysql.mysqlDatabase` | Mysql database name | `sonarDB` |
|
||||
| `mysql.mysqlParams` | Mysql parameters for JDBC connection string | `{}` |
|
||||
| `mysql.service.port` | Mysql port | `3306` |
|
||||
| `annotations` | Sonarqube Pod annotations | `{}` |
|
||||
| `resources` | Sonarqube Pod resource requests & limits | `{}` |
|
||||
| `affinity` | Node / Pod affinities | `{}` |
|
||||
| `nodeSelector` | Node labels for pod assignment | `{}` |
|
||||
|
||||
@@ -16,6 +16,12 @@ spec:
|
||||
release: {{ .Release.Name }}
|
||||
{{- with .Values.podLabels }}
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }}
|
||||
{{ if .Values.annotations}}
|
||||
annotations:
|
||||
{{- range $key, $value := .Values.annotations }}
|
||||
{{ $key }}: {{ $value | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
spec:
|
||||
securityContext:
|
||||
|
||||
@@ -8,6 +8,12 @@ metadata:
|
||||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
|
||||
release: "{{ .Release.Name }}"
|
||||
heritage: "{{ .Release.Service }}"
|
||||
{{ if .Values.presistence.annotations}}
|
||||
annotations:
|
||||
{{- range $key, $value := .Values.persistence.annotations }}
|
||||
{{ $key }}: {{ $value | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
spec:
|
||||
accessModes:
|
||||
- {{ .Values.persistence.accessMode | quote }}
|
||||
|
||||
@@ -89,6 +89,9 @@ extraEnv: {}
|
||||
# If an ingress *path* is defined, it should be reflected here
|
||||
# sonar.web.context: /sonarqube
|
||||
|
||||
# Set annotations for pods
|
||||
annotations: {}
|
||||
|
||||
resources: {}
|
||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||
# choice for the user. This also increases chances charts run on environments with little
|
||||
@@ -102,6 +105,9 @@ resources: {}
|
||||
# memory: 128Mi
|
||||
persistence:
|
||||
enabled: false
|
||||
## Set annotations on pvc
|
||||
annotations: {}
|
||||
|
||||
## Specify an existing volume claim instead of creating a new one.
|
||||
## When using this option all following options like storageClass, accessMode and size are ignored.
|
||||
# existingClaim:
|
||||
|
||||
Reference in New Issue
Block a user