mirror of
https://github.com/helm/charts.git
synced 2026-08-23 14:27:18 +00:00
[stable/sonarqube] configure persistence defaults (#18716)
This makes it easier to use persistence. As all one needs to do is to set `persistence.enabled` to `true` It's still possible to override it with other settings if the user wants to. Reasoning for the values: - `accessMode` needs to be defined anyhow as the template uses it when rendering the PVC - `storageClass` of empty uses the default storage class of the cluster - `size` 10Gi - just a default values Signed-off-by: Torsten Walter <torsten.walter@syncier.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
9a8bd41ad0
commit
95ccd3acef
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
name: sonarqube
|
||||
description: Sonarqube is an open sourced code quality scanning tool
|
||||
version: 3.2.4
|
||||
version: 3.2.5
|
||||
appVersion: 7.9.1
|
||||
keywords:
|
||||
- coverage
|
||||
|
||||
@@ -66,9 +66,9 @@ The following table lists the configurable parameters of the Sonarqube chart and
|
||||
| `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.storageClass` | Storage class to be used | "" |
|
||||
| `persistence.accessMode` | Volumes access mode to be set | `ReadWriteOnce` |
|
||||
| `persistence.size` | Size of the volume | None |
|
||||
| `persistence.size` | Size of the volume | 10Gi |
|
||||
| `sonarProperties` | Custom `sonar.properties` file | None |
|
||||
| `sonarSecretProperties` | Additional `sonar.properties` file to load from a secret | None |
|
||||
| `customCerts.enabled` | Use `customCerts.secretName` | false |
|
||||
|
||||
@@ -126,9 +126,9 @@ persistence:
|
||||
## set, choosing the default provisioner. (gp2 on AWS, standard on
|
||||
## GKE, AWS & OpenStack)
|
||||
##
|
||||
# storageClass: "-"
|
||||
# accessMode: ReadWriteOnce
|
||||
# size: 10Gi
|
||||
storageClass:
|
||||
accessMode: ReadWriteOnce
|
||||
size: 10Gi
|
||||
|
||||
# List of plugins to install.
|
||||
# For example:
|
||||
|
||||
Reference in New Issue
Block a user