Skip to content

Commit

Permalink
[stable/selenium] Fix selenium configuration (helm#21839)
Browse files Browse the repository at this point in the history
* Fix selenium hub typo in environment variable GRID_CLEAN_UP_CYCLE

Signed-off-by: Stefan Staude <[email protected]>

* Extend value.yaml documentation and fix timeout units

Signed-off-by: Stefan Staude <[email protected]>

* Update selenium chart version to 1.0.11

Signed-off-by: Stefan Staude <[email protected]>
  • Loading branch information
staust authored Apr 8, 2020
1 parent 6095607 commit cef9005
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion stable/selenium/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: selenium
version: 1.0.10
version: 1.0.11
appVersion: 3.141.59
description: Chart for selenium grid
keywords:
Expand Down
6 changes: 3 additions & 3 deletions stable/selenium/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ The following table lists the configurable parameters of the Selenium chart and
| `hub.gridNewSessionWaitTimeout` | | `nil` |
| `hub.gridJettyMaxThreads` | | `nil` |
| `hub.gridNodePolling` | | `nil` |
| `hub.gridCleanUpCycle` | | `nil` |
| `hub.gridTimeout` | | `nil` |
| `hub.gridBrowserTimeout` | | `nil` |
| `hub.gridCleanUpCycle` | Specifies how often the hub will poll running proxies for timed-out (i.e. hung) threads **(in ms)**. Must also specify "timeout" option | `nil` |
| `hub.gridTimeout` | Specifies the timeout before the server automatically kills a session that hasn't had any activity in the last X seconds.| `nil` |
| `hub.gridBrowserTimeout` | Number of seconds a browser session is allowed to hang while a WebDriver command is running | `nil` |
| `hub.gridMaxSession` | | `nil` |
| `hub.gridUnregisterIfStillDownAfter` | | `nil` |
| `hub.seOpts` | Command line arguments to pass to hub | `nil` |
Expand Down
2 changes: 1 addition & 1 deletion stable/selenium/templates/hub-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ spec:
value: {{ .Values.hub.gridNodePolling | quote }}
{{- end }}
{{- if .Values.hub.gridCleanUpCycle }}
- name: GRID_CLEANUP_CYCLE
- name: GRID_CLEAN_UP_CYCLE
value: {{ .Values.hub.gridCleanUpCycle | quote }}
{{- end }}
{{- if .Values.hub.gridTimeout }}
Expand Down
9 changes: 5 additions & 4 deletions stable/selenium/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,16 +109,17 @@ hub:
# # internal AWS ELB
# service.beta.kubernetes.io/aws-load-balancer-internal: "0.0.0.0/0"

## ref: https://seleniumhq.github.io/docs/grid.html#step_1_start_the_hub
## ref: https://github.com/SeleniumHQ/selenium/wiki/Grid2#configuring-the-nodes
## In milliseconds
# gridNewSessionWaitTimeout: -1
# gridJettyMaxThreads: -1
## In milliseconds
# gridNodePolling: 5000
## In milliseconds
# gridCleanUpCycle: 5000
## In milliseconds
# gridTimeout: 30000
## In milliseconds
## In seconds
# gridTimeout: 30
## In seconds
# gridBrowserTimeout: 0
# gridMaxSession: 5
## In milliseconds
Expand Down

0 comments on commit cef9005

Please sign in to comment.