diff --git a/charts/zalenium/README.md b/charts/zalenium/README.md index 32deac01ac..2989d43eb0 100644 --- a/charts/zalenium/README.md +++ b/charts/zalenium/README.md @@ -81,6 +81,8 @@ See Zalenium's [usage examples](https://github.com/zalando/zalenium/blob/master/ | `hub.port` | The port the hub listens on | `4444` | | `hub.podSecurityContext` | Pod Security Context used by hub and selenium grids | | | `hub.containerSecurityContext` | Container Security Context used by hub and selenium grids | | +| `hub.livenessInitialDelaySeconds` | Number of seconds after the container has started before first liveness probe | 90 | +| `hub.livenessPeriodSeconds` | How often (in seconds) to perform the probe | 5 | | `hub.livenessTimeout` | Timeout for probe Hub liveness via HTTP request on Hub console | `1` | | `hub.readinessTimeout` | Timeout for probe Hub readiness via HTTP request on Hub console | `1` | | `hub.localVolumesRoot` | The root directory to store HostPath volumes (e.g. if running in minikube) | `/tmp` | diff --git a/charts/zalenium/index.yaml b/charts/zalenium/index.yaml index e880f7e845..0291942ce8 100644 --- a/charts/zalenium/index.yaml +++ b/charts/zalenium/index.yaml @@ -2,9 +2,9 @@ apiVersion: v1 entries: zalenium: - apiVersion: v2 - created: "2020-06-04T21:07:52.910276+10:00" + created: "2020-10-04T13:39:17.62505+11:00" description: Chart for selenium grid - digest: 1e97d4d2a12e8a384b725047a55de2f92dfc3faa9b16e1a86fedb33a1e6cc187 + digest: 28e5d6c4e189f3f6f6d245d184fba17553a4e6a16211d61889d6ffac454f4e8a home: https://github.com/zalando/zalenium keywords: - qa @@ -18,4 +18,4 @@ entries: urls: - zalenium-3.141.59t.tgz version: 3.141.59 -generated: "2020-06-04T21:07:52.906796+10:00" +generated: "2020-10-04T13:39:17.621716+11:00" diff --git a/charts/zalenium/templates/_pod-template.yaml b/charts/zalenium/templates/_pod-template.yaml index a6809a6beb..ecc10fb190 100644 --- a/charts/zalenium/templates/_pod-template.yaml +++ b/charts/zalenium/templates/_pod-template.yaml @@ -58,8 +58,8 @@ spec: - name: Authorization value: Basic {{ template "basicAuth.b64" . }} {{- end}} - initialDelaySeconds: 90 - periodSeconds: 5 + initialDelaySeconds: {{ .Values.hub.livenessInitialDelaySeconds }} + periodSeconds: {{ .Values.hub.livenessPeriodSeconds }} timeoutSeconds: {{ .Values.hub.livenessTimeout }} readinessProbe: httpGet: diff --git a/charts/zalenium/values.yaml b/charts/zalenium/values.yaml index 22f511559e..bc0ec8e985 100644 --- a/charts/zalenium/values.yaml +++ b/charts/zalenium/values.yaml @@ -20,6 +20,12 @@ hub: ## The port which the hub listens on port: 4444 + ## Number of seconds after the container has started before first liveness probe + livenessInitialDelaySeconds: 90 + + ## How often (in seconds) to perform the probe + livenessPeriodSeconds: 5 + ## Timeout for probe Hub liveness via HTTP request on Hub console livenessTimeout: 1 diff --git a/charts/zalenium/zalenium-3.141.59t.tgz b/charts/zalenium/zalenium-3.141.59t.tgz index 31f6f897da..a31269933c 100644 Binary files a/charts/zalenium/zalenium-3.141.59t.tgz and b/charts/zalenium/zalenium-3.141.59t.tgz differ