[stable/sonarqube] Add sonarWebContext value for readinessProbe and livenessProbe. (#10563)

Signed-off-by: Jitendra <sachdevajitendra909@gmail.com>
This commit is contained in:
jitendra sachdeva
2019-01-13 12:04:05 -08:00
committed by Kubernetes Prow Robot
parent e9ac047ad4
commit de05fed165
4 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -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
+2
View File
@@ -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 |
+2 -2
View File
@@ -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 }}
+2
View File
@@ -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: {}