mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/sonarqube] Add ability to add/mount extra volumes (#19364)
Signed-off-by: VALLEY Antoine <valley.antoine@gmail.com> Signed-off-by: VALLEY Antoine (T0173847) <antoine.valley@mythalesgroup.io>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
334d459fe5
commit
a52b9f31d4
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
name: sonarqube
|
||||
description: Sonarqube is an open sourced code quality scanning tool
|
||||
version: 3.2.7
|
||||
version: 3.2.8
|
||||
appVersion: 7.9.1
|
||||
keywords:
|
||||
- coverage
|
||||
|
||||
@@ -69,6 +69,8 @@ The following table lists the configurable parameters of the Sonarqube chart and
|
||||
| `persistence.storageClass` | Storage class to be used | "" |
|
||||
| `persistence.accessMode` | Volumes access mode to be set | `ReadWriteOnce` |
|
||||
| `persistence.size` | Size of the volume | 10Gi |
|
||||
| `persistence.volumes` | Specify extra volumes. Refer to ".spec.volumes" specification | [] |
|
||||
| `persistence.mounts` | Specify extra mounts. Refer to ".spec.containers.volumeMounts" specification | [] |
|
||||
| `sonarProperties` | Custom `sonar.properties` file | None |
|
||||
| `sonarSecretProperties` | Additional `sonar.properties` file to load from a secret | None |
|
||||
| `customCerts.enabled` | Use `customCerts.secretName` | false |
|
||||
|
||||
@@ -197,6 +197,9 @@ spec:
|
||||
periodSeconds: {{ .Values.readinessProbe.periodSeconds }}
|
||||
failureThreshold: {{ .Values.readinessProbe.failureThreshold }}
|
||||
volumeMounts:
|
||||
{{- if .Values.persistence.mounts }}
|
||||
{{ toYaml .Values.persistence.mounts | indent 12 }}
|
||||
{{- end }}
|
||||
{{- if and .Values.sonarProperties .Values.sonarSecretProperties }}
|
||||
- mountPath: {{ .Values.sonarqubeFolder }}/conf/
|
||||
name: concat-dir
|
||||
@@ -250,6 +253,9 @@ spec:
|
||||
{{ toYaml .Values.affinity | indent 8 }}
|
||||
{{- end }}
|
||||
volumes:
|
||||
{{- if .Values.persistence.volumes }}
|
||||
{{ tpl (toYaml .Values.persistence.volumes | indent 6) . }}
|
||||
{{- end }}
|
||||
{{- if or .Values.sonarProperties (not .Values.elasticsearch.bootstrapChecks) }}
|
||||
- name: config
|
||||
configMap:
|
||||
|
||||
@@ -130,6 +130,11 @@ persistence:
|
||||
accessMode: ReadWriteOnce
|
||||
size: 10Gi
|
||||
|
||||
## Specify extra volumes. Refer to ".spec.volumes" specification : https://kubernetes.io/fr/docs/concepts/storage/volumes/
|
||||
volumes: []
|
||||
## Specify extra mounts. Refer to ".spec.containers.volumeMounts" specification : https://kubernetes.io/fr/docs/concepts/storage/volumes/
|
||||
mounts: []
|
||||
|
||||
# List of plugins to install.
|
||||
# For example:
|
||||
# plugins:
|
||||
|
||||
Reference in New Issue
Block a user