mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/sonarqube] Add sonarWebContext value for readinessProbe and livenessProbe. (#10563)
Signed-off-by: Jitendra <sachdevajitendra909@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
e9ac047ad4
commit
de05fed165
@@ -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
|
||||
|
||||
@@ -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 |
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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: {}
|
||||
|
||||
Reference in New Issue
Block a user