diff --git a/stable/sonarqube/Chart.yaml b/stable/sonarqube/Chart.yaml index 1c2bc859e3..a787647192 100644 --- a/stable/sonarqube/Chart.yaml +++ b/stable/sonarqube/Chart.yaml @@ -1,6 +1,6 @@ name: sonarqube description: Sonarqube is an open sourced code quality scanning tool -version: 0.13.1 +version: 0.13.2 appVersion: 7.4 keywords: - coverage diff --git a/stable/sonarqube/README.md b/stable/sonarqube/README.md index ce345ee748..88f46680a4 100644 --- a/stable/sonarqube/README.md +++ b/stable/sonarqube/README.md @@ -46,6 +46,8 @@ The following table lists the configurable parameters of the Sonarqube chart and | `command` | command to run in the container | `nil` (need to be set prior to 6.7.6, and 7.4) | | `securityContext.fsGroup` | Group applied to mounted directories/files| `999` | | `ingress.enabled` | Flag for enabling ingress | false | +| `livenessProbe.sonarWebContext` | SonarQube web context for livenessProbe | / | +| `readinessProbe.sonarWebContext` | SonarQube web context for readinessProbe | / | | `service.type` | Kubernetes service type | `LoadBalancer` | | `service.labels` | Kubernetes service labels | None | | `service.annotations` | Kubernetes service annotations | None | diff --git a/stable/sonarqube/templates/deployment.yaml b/stable/sonarqube/templates/deployment.yaml index fc806e5a55..c6f32bb52c 100644 --- a/stable/sonarqube/templates/deployment.yaml +++ b/stable/sonarqube/templates/deployment.yaml @@ -101,13 +101,13 @@ spec: {{- end }} livenessProbe: httpGet: - path: /sessions/new + path: {{ .Values.livenessProbe.sonarWebContext }}sessions/new port: {{ .Values.service.internalPort }} initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }} periodSeconds: {{ .Values.livenessProbe.periodSeconds }} readinessProbe: httpGet: - path: /sessions/new + path: {{ .Values.readinessProbe.sonarWebContext }}sessions/new port: {{ .Values.service.internalPort }} initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds }} periodSeconds: {{ .Values.readinessProbe.periodSeconds }} diff --git a/stable/sonarqube/values.yaml b/stable/sonarqube/values.yaml index 8f79709021..600154d064 100755 --- a/stable/sonarqube/values.yaml +++ b/stable/sonarqube/values.yaml @@ -74,9 +74,11 @@ readinessProbe: initialDelaySeconds: 60 periodSeconds: 30 failureThreshold: 6 + sonarWebContext: / livenessProbe: initialDelaySeconds: 60 periodSeconds: 30 + sonarWebContext: / # Set extra env variables. Like proxy settings. extraEnv: {}