Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

chore: Externalise intialDelay & period of liveliness probe #1204

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions charts/zalenium/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` |
Expand Down
6 changes: 3 additions & 3 deletions charts/zalenium/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
4 changes: 2 additions & 2 deletions charts/zalenium/templates/_pod-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 6 additions & 0 deletions charts/zalenium/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Binary file modified charts/zalenium/zalenium-3.141.59t.tgz
Binary file not shown.