File tree Expand file tree Collapse file tree
charts/selenium-grid/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ jobs:
121121 test-strategy : playwright_connect_grid
122122 - k8s-version : ' v1.33.1'
123123 cluster : ' minikube'
124- helm-version : ' v3.17.3 '
124+ helm-version : ' v3.18.0 '
125125 docker-version : ' 26.1.4'
126126 python-version : ' 3.10'
127127 test-upgrade : true
Original file line number Diff line number Diff line change @@ -877,8 +877,8 @@ Define terminationGracePeriodSeconds of the node pod.
8778772. IF node.terminationGracePeriodSeconds is greater than autoscaling.terminationGracePeriodSeconds, use node.terminationGracePeriodSeconds
878878*/ }}
879879{{- define " seleniumGrid.node.terminationGracePeriodSeconds" -}}
880- {{- $autoscalingPeriod := default 0 .Values.autoscaling.terminationGracePeriodSeconds -}}
881- {{- $nodePeriod := default 0 .node.terminationGracePeriodSeconds -}}
880+ {{- $autoscalingPeriod := default 0 .Values.autoscaling.terminationGracePeriodSeconds | int -}}
881+ {{- $nodePeriod := default 0 .node.terminationGracePeriodSeconds | int -}}
882882{{- $period := $nodePeriod -}}
883883{{- if and (eq .Values.autoscaling.scalingType " deployment" ) (eq (include " seleniumGrid.useKEDA" $ ) " true" ) -}}
884884 {{- $period = ternary $nodePeriod $autoscalingPeriod (gt $nodePeriod $autoscalingPeriod ) -}}
Original file line number Diff line number Diff line change @@ -260,7 +260,7 @@ if [ "${SELENIUM_GRID_AUTOSCALING}" = "true" ] && [ "${CLEAR_POD_HISTORY}" = "tr
260260 "
261261fi
262262
263- if [ " ${CHART_ENABLE_INGRESS_HOSTNAME} " = " true" ]; then
263+ if [ " ${CHART_ENABLE_INGRESS_HOSTNAME} " = " true" ] && [ " ${RENDER_HELM_TEMPLATE_ONLY} " != " true " ] ; then
264264 if [[ ! $( cat /etc/hosts) == * " ${HOSTNAME_ADDRESS} " * ]]; then
265265 sudo -- sh -c -e " echo \" $( hostname -I | cut -d' ' -f1) ${HOSTNAME_ADDRESS} \" >> /etc/hosts"
266266 fi
You can’t perform that action at this time.
0 commit comments