diff --git a/stable/selenium/Chart.yaml b/stable/selenium/Chart.yaml index c1c12d1709..89c2262d77 100644 --- a/stable/selenium/Chart.yaml +++ b/stable/selenium/Chart.yaml @@ -1,5 +1,5 @@ name: selenium -version: 0.6.0 +version: 0.7.0 appVersion: 3.12.0 description: Chart for selenium grid keywords: diff --git a/stable/selenium/README.md b/stable/selenium/README.md index 6fe5f9b7aa..81c9525b3b 100644 --- a/stable/selenium/README.md +++ b/stable/selenium/README.md @@ -44,12 +44,13 @@ The following table lists the configurable parameters of the Selenium chart and | --------- | ----------- | ------- | | `global.nodeselector` | Node label to be useed globally for scheduling of all images | `nil` | | `hub.image` | The selenium hub image | `selenium/hub` | -| `hub.tag` | The selenium hub image tag | `3.11.0` | +| `hub.tag` | The selenium hub image tag | `3.12.0` | | `hub.pullPolicy` | The pull policy for the hub image | `IfNotPresent` | | `hub.port` | The port the hub listens on | `4444` | | `hub.javaOpts` | The java options for the selenium hub JVM, default sets the maximum heap size to 1,000 mb | `-Xmx1000m` | | `hub.resources` | The resources for the hub container, defaults to minimum half a cpu and maximum 1,000 mb RAM | `{"limits":{"cpu":".5", "memory":"1000Mi"}}` | | `hub.serviceType` | The Service type | `NodePort` | +| `hub.serviceLoadBalancerIP` | The Public IP for the Load Balancer | `nil` | | `hub.serviceSessionAffinity` | The session affinity for the hub service| `None` | | `hub.gridNewSessionWaitTimeout` | | `nil` | | `hub.gridJettyMaxThreads` | | `nil` | diff --git a/stable/selenium/templates/hub-service.yaml b/stable/selenium/templates/hub-service.yaml index ae0bd08bfb..9abd4884c9 100644 --- a/stable/selenium/templates/hub-service.yaml +++ b/stable/selenium/templates/hub-service.yaml @@ -13,6 +13,9 @@ metadata: {{- end }} spec: type: {{ .Values.hub.serviceType | quote }} + {{- if .Values.hub.serviceLoadBalancerIP }} + loadBalancerIP: {{ .Values.hub.serviceLoadBalancerIP | quote }} + {{- end }} sessionAffinity: {{ .Values.hub.serviceSessionAffinity | quote }} ports: - name: hub diff --git a/stable/selenium/values.yaml b/stable/selenium/values.yaml index 774a2ab735..9b82266816 100644 --- a/stable/selenium/values.yaml +++ b/stable/selenium/values.yaml @@ -56,6 +56,10 @@ hub: ## ref: https://kubernetes.io/docs/user-guide/services/ serviceType: "LoadBalancer" + ## The LoadBalancer IP Address + ## ref: https://kubernetes.io/docs/user-guide/services/ + ## serviceLoadBalancerIP: "40.121.183.52" + ## Control where client requests go, to the same pod or round-robin ## Values: ClientIP or None ## ref: https://kubernetes.io/docs/user-guide/services/