[stable/selenium] Update to version 3.141.59 and add imagePullSecrets (#12425)

* stable/selenium - Adding the option to set nodePort on the service

Signed-off-by: Elad Kirmayer <ekirmayer@hotmail.com>

* Bumping chart version

Signed-off-by: Elad Kirmayer <ekirmayer@hotmail.com>

* Add checking if the serviceType is NodePort

Signed-off-by: Elad Kirmayer <ekirmayer@hotmail.com>

* Fix files convention

Signed-off-by: Elad Kirmayer <ekirmayer@hotmail.com>

* Update selenium app version to 3.141.59
Add imagePullSecrets to the configuration

Signed-off-by: Elad Kirmayer <ekirmayer@hotmail.com>

* Update the readme file

Signed-off-by: Elad Kirmayer <ekirmayer@hotmail.com>
This commit is contained in:
Kirmayer Elad
2019-03-21 14:47:37 -07:00
committed by Kubernetes Prow Robot
parent b7f4e8e17a
commit c8c7d4eaa6
8 changed files with 59 additions and 13 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
name: selenium
version: 1.0.4
appVersion: 3.14.0
version: 1.0.5
appVersion: 3.141.59
description: Chart for selenium grid
keywords:
- qa
+11 -5
View File
@@ -46,8 +46,10 @@ The following table lists the configurable parameters of the Selenium chart and
| `global.hostAliases` | A list of hostAliases, that contains ip and hostnames, to be used globally | `[]` |
| `global.affinity` | Deployemnt affinities to be used globally for scheduling of all images | `nil` |
| `global.tolerations` | Deployment tolerations to be used globally for scheduling of all images | `nil` |
| `global.imagePullSecrets` | The secret to use for pulling the images for all deployments | `nil` |
| `hub.image` | The selenium hub image | `selenium/hub` |
| `hub.tag` | The selenium hub image tag | `3.14.0` |
| `hub.tag` | The selenium hub image tag | `3.141.59` |
| `hub.imagePullSecrets` | The secret to use for pulling the image. Will override the global parameter if set | `nil` |
| `hub.pullPolicy` | The pull policy for the hub image | `IfNotPresent` |
| `hub.port` | The port the hub listens on | `4444` |
| `hub.servicePort` | The port the hub Service listens on | `4444` |
@@ -83,7 +85,8 @@ The following table lists the configurable parameters of the Selenium chart and
| `hub.probePath` | Path for readiness and liveness probes to check | `/wd/hub/status` |
| `chrome.enabled` | Schedule a chrome node pod | `false` |
| `chrome.image` | The selenium node chrome image | `selenium/node-chrome` |
| `chrome.tag` | The selenium node chrome tag | `3.14.0` |
| `chrome.tag` | The selenium node chrome tag | `3.141.59` |
| `chrome.imagePullSecrets` | The secret to use for pulling the image. Will override the global parameter if set | `nil` |
| `chrome.pullPolicy` | The pull policy for the node chrome image | `IfNotPresent` |
| `chrome.replicas` | The number of selenium node chrome pods | `1` |
| `chrome.podAnnotations` | Annotations on the chrome pods | `{}` |
@@ -108,7 +111,8 @@ The following table lists the configurable parameters of the Selenium chart and
| `chrome.tolerations` | Deployment tolerations to use for scheduling of the chrome if set this takes precedence over the global value | `nil` |
| `chromeDebug.enabled` | Schedule a selenium node chrome debug pod | `false` |
| `chromeDebug.image` | The selenium node chrome debug image | `selenium/node-chrome-debug` |
| `chromeDebug.tag` | The selenium node chrome debug tag | `3.14.0` |
| `chromeDebug.tag` | The selenium node chrome debug tag | `3.141.59` |
| `chromeDebug.imagePullSecrets` | The secret to use for pulling the image. Will override the global parameter if set | `nil` |
| `chromeDebug.pullPolicy` | The selenium node chrome debug pull policy | `IfNotPresent` |
| `chromeDebug.replicas` | The number of selenium node chrome debug pods | `1` |
| `chromeDebug.podAnnotations` | Annotations on the Chrome debug pod | `{}` |
@@ -133,7 +137,8 @@ The following table lists the configurable parameters of the Selenium chart and
| `chromeDebug.tolerations` | Deployment tolerations to use for scheduling of the chromeDebug if set this takes precedence over the global value | `nil` |
| `firefox.enabled` | Schedule a selenium node firefox pod | `false` |
| `firefox.image` | The selenium node firefox image | `selenium/node-firefox` |
| `firefox.tag` | The selenium node firefox tag | `3.14.0` |
| `firefox.tag` | The selenium node firefox tag | `3.141.59` |
| `firefox.imagePullSecrets` | The secret to use for pulling the image. Will override the global parameter if set | `nil` |
| `firefox.pullPolicy` | The selenium node firefox pull policy | `IfNotPresent` |
| `firefox.replicas` | The number of selenium node firefox pods | `1` |
| `firefox.podAnnotations` | Annotations on the firefox pods | `{}` |
@@ -156,7 +161,8 @@ The following table lists the configurable parameters of the Selenium chart and
| `firefox.tolerations` | Deployment tolerations to use for scheduling of the firefox if set this takes precedence over the global value | `nil` |
| `firefoxDebug.enabled` | Schedule a selenium node firefox debug pod | `false` |
| `firefoxDebug.image` | The selenium node firefox debug image | `selenium/node-firefox-debug` |
| `firefoxDebug.tag` | The selenium node firefox debug tag | `3.14.0` |
| `firefoxDebug.tag` | The selenium node firefox debug tag | `3.141.59` |
| `firefoxDebug.imagePullSecrets` | The secret to use for pulling the image. Will override the global parameter if set | `nil` |
| `firefoxDebug.pullPolicy` | The selenium node firefox debug pull policy | `IfNotPresent` |
| `firefoxDebug.replicas` | The number of selenium node firefox debug pods | `1` |
| `firefoxDebug.podAnnotations` | Annotations on the firefox debug pods | `{}` |
@@ -87,6 +87,10 @@ spec:
{{- end }}
resources:
{{ toYaml .Values.chrome.resources | indent 12 }}
{{- if or .Values.global.imagePullSecrets .Values.chrome.imagePullSecrets }}
imagePullSecrets:
- name: {{ .Values.chrome.imagePullSecrets | default .Values.global.imagePullSecrets | quote }}
{{- end }}
volumes:
{{ if .Values.chrome.volumes -}}
{{ toYaml .Values.chrome.volumes | indent 8 }}
@@ -89,6 +89,10 @@ spec:
{{- end }}
resources:
{{ toYaml .Values.chromeDebug.resources | indent 12 }}
{{- if or .Values.global.imagePullSecrets .Values.chromeDebug.imagePullSecrets }}
imagePullSecrets:
- name: {{ .Values.chromeDebug.imagePullSecrets | default .Values.global.imagePullSecrets | quote }}
{{- end }}
volumes:
{{ if .Values.chromeDebug.volumes -}}
{{ toYaml .Values.chromeDebug.volumes | indent 8 }}
@@ -83,6 +83,10 @@ spec:
{{- end }}
resources:
{{ toYaml .Values.firefox.resources | indent 12 }}
{{- if or .Values.global.imagePullSecrets .Values.firefox.imagePullSecrets }}
imagePullSecrets:
- name: {{ .Values.firefox.imagePullSecrets | default .Values.global.imagePullSecrets | quote }}
{{- end }}
hostAliases:
{{ toYaml .Values.global.hostAliases | indent 8 }}
nodeSelector:
@@ -85,6 +85,10 @@ spec:
{{- end }}
resources:
{{ toYaml .Values.firefoxDebug.resources | indent 12 }}
{{- if or .Values.global.imagePullSecrets .Values.firefoxDebug.imagePullSecrets }}
imagePullSecrets:
- name: {{ .Values.firefoxDebug.imagePullSecrets | default .Values.global.imagePullSecrets | quote }}
{{- end }}
hostAliases:
{{ toYaml .Values.global.hostAliases | indent 8 }}
nodeSelector:
@@ -93,6 +93,10 @@ spec:
{{- end }}
resources:
{{ toYaml .Values.hub.resources | indent 12 }}
{{- if or .Values.global.imagePullSecrets .Values.hub.imagePullSecrets }}
imagePullSecrets:
- name: {{ .Values.hub.imagePullSecrets | default .Values.global.imagePullSecrets | quote }}
{{- end }}
nodeSelector:
{{- if .Values.hub.nodeSelector }}
{{ toYaml .Values.hub.nodeSelector | indent 8 }}
+26 -6
View File
@@ -10,6 +10,11 @@ global:
# label: value
tolerations:
# label: value
## imagePullSecrets is the secret to use to pull the image from in case of a private flavour image
## to be used in every deployment hub, chrome, firefox, chromeDebug and firefoxDebug
## can also be specified at chart level see below.
## Specifying secret at a chart level will override the global option
imagePullSecrets:
hub:
## The repository and image
@@ -18,7 +23,10 @@ hub:
## The tag for the image
## ref: https://hub.docker.com/r/selenium/hub/tags/
tag: "3.14.0"
tag: "3.141.59"
## imagePullSecrets is the secret to use to pull the image from in case of a private flavour image
# imagePullSecrets: "regcred"
## Specify an imagePullPolicy
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
@@ -30,7 +38,7 @@ hub:
## The port the service listens on
servicePort: 4444
## The node port the service exposed on
## nodePort - The node port the service exposed on
# nodePort: 30044
## Timeout for probe Hub readiness via HTTP request on hub.probePath
@@ -144,7 +152,10 @@ chrome:
## The tag for the image
## ref: https://hub.docker.com/r/selenium/node-chrome/tags/
tag: "3.14.0"
tag: "3.141.59"
## imagePullSecrets is the secret to use to pull the image from in case of a private flavour image
# imagePullSecrets: "regcred"
## Specify an imagePullPolicy
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
@@ -232,7 +243,10 @@ chromeDebug:
## The tag for the image
## ref: https://hub.docker.com/r/selenium/node-chrome-debug/tags/
tag: "3.14.0"
tag: "3.141.59"
## imagePullSecrets is the secret to use to pull the image from in case of a private flavour image
# imagePullSecrets: "regcred"
## Specify an imagePullPolicy
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
@@ -319,7 +333,10 @@ firefox:
## The tag for the image
## ref: https://hub.docker.com/r/selenium/node-firefox/tags/
tag: "3.14.0"
tag: "3.141.59"
## imagePullSecrets is the secret to use to pull the image from in case of a private flavour image
# imagePullSecrets: "regcred"
## Specify an imagePullPolicy
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
@@ -393,7 +410,10 @@ firefoxDebug:
## The tag for the image
## ref: https://hub.docker.com/r/selenium/node-firefox-debug/tags/
tag: "3.14.0"
tag: "3.141.59"
## imagePullSecrets is the secret to use to pull the image from in case of a private flavour image
# imagePullSecrets: "regcred"
## Specify an imagePullPolicy
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images