File tree Expand file tree Collapse file tree 8 files changed +23
-15
lines changed
charts/selenium-grid/templates
tests/charts/templates/render Expand file tree Collapse file tree 8 files changed +23
-15
lines changed Original file line number Diff line number Diff line change 1313 request-timeout :
1414 description : ' Test parameter for different request timeout'
1515 required : false
16- default : ' 370 '
16+ default : ' 15 '
1717 max-replicas-count :
1818 description : ' Test parameter for autoscaling to set maxReplicaCount'
1919 required : false
20- default : ' 30 '
20+ default : ' 10 '
2121 log-level :
2222 description : ' Test parameter for different log level'
2323 required : false
@@ -148,8 +148,8 @@ jobs:
148148 echo "SET_MAX_REPLICAS=${SET_MAX_REPLICAS}" >> $GITHUB_ENV
149149 echo "LOG_LEVEL=${LOG_LEVEL}" >> $GITHUB_ENV
150150 env :
151- AUTOSCALING_POLL_INTERVAL : ${{ github.event.inputs.request-timeout || '370 ' }}
152- SET_MAX_REPLICAS : ${{ github.event.inputs.max-replicas-count || '30 ' }}
151+ AUTOSCALING_POLL_INTERVAL : ${{ github.event.inputs.request-timeout || '15 ' }}
152+ SET_MAX_REPLICAS : ${{ github.event.inputs.max-replicas-count || '10 ' }}
153153 LOG_LEVEL : ${{ github.event.inputs.log-level || 'FINE' }}
154154 - name : Test Selenium Grid on Kubernetes ${{ matrix.k8s-version }} with Autoscaling ${{ matrix.test-strategy }}
155155 uses : nick-invision/retry@master
Original file line number Diff line number Diff line change 4444 {{- range .hosts }}
4545 - {{ tpl . $ | quote }}
4646 {{- end }}
47- secretName : {{ tpl (.secretName) $ | quote }}
47+ secretName : {{ tpl (default "" .secretName) $ | quote }}
4848 {{- end }}
4949 {{- end }}
5050 rules :
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ kind: Job
44metadata :
55 name : {{ template "seleniumGrid.keda.patchObjectsJob.fullname" $ }}
66 namespace : {{ .Release.Namespace }}
7- annotations : &patch_objects_job_annotations
87 {{- with $.Values.autoscaling.patchObjectFinalizers.annotations }}
8+ annotations : &patch_objects_job_annotations
99 {{- toYaml . | nindent 4 }}
1010 {{- end }}
1111 labels : &patch_objects_job_labels
@@ -18,8 +18,10 @@ metadata:
1818spec :
1919 template :
2020 metadata :
21- labels : *patch_objects_job_labels
21+ {{- with $.Values.autoscaling.patchObjectFinalizers.annotations }}
2222 annotations : *patch_objects_job_annotations
23+ {{- end }}
24+ labels : *patch_objects_job_labels
2325 name : {{ template "seleniumGrid.keda.patchObjectsJob.fullname" $ }}
2426 spec :
2527 activeDeadlineSeconds : {{ $.Values.autoscaling.patchObjectFinalizers.activeDeadlineSeconds }}
Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ kind: Role
44metadata :
55 name : {{ template "seleniumGrid.rbac.role.fullname" $ }}
66 namespace : {{ .Release.Namespace }}
7+ {{- with $.Values.rbacRole.annotations }}
78 annotations :
8- {{- with $.Values.rbacRole.annotations }}
9- {{- toYaml . | nindent 4 }}
10- {{- end }}
9+ {{- toYaml . | nindent 4 }}
10+ {{- end }}
1111 labels :
1212 deploymentName : {{ template "seleniumGrid.rbac.role.fullname" $ }}
1313 {{- include "seleniumGrid.commonLabels" $ | nindent 4 }}
Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ kind: RoleBinding
44metadata :
55 name : {{ template "seleniumGrid.rbac.roleBinding.fullname" $ }}
66 namespace : {{ .Release.Namespace }}
7+ {{- with $.Values.rbacRoleBinding.annotations }}
78 annotations :
8- {{- with $.Values.rbacRoleBinding.annotations }}
9- {{- toYaml . | nindent 4 }}
10- {{- end }}
9+ {{- toYaml . | nindent 4 }}
10+ {{- end }}
1111 labels :
1212 deploymentName : {{ template "seleniumGrid.rbac.roleBinding.fullname" $ }}
1313 {{- include "seleniumGrid.commonLabels" $ | nindent 4 }}
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ metadata:
1313 {{- end }}
1414data :
1515 SE_SERVER_PROTOCOL : {{ include "seleniumGrid.server.protocol" . | quote }}
16- {{- with $ .Values.serverConfigMap.env }}
17- {{- toYaml . | nindent 2 }}
16+ {{- range $key, $value := .Values.serverConfigMap.env }}
17+ {{ $key }}: {{ $value | quote }}
1818{{- end }}
1919{{- if .Values.tls.enabled }}
2020 SE_HTTPS_CERTIFICATE : {{ printf "%s/%s" .Values.serverConfigMap.certVolumeMountPath .Values.serverConfigMap.certificateFile | quote }}
Original file line number Diff line number Diff line change @@ -57,6 +57,9 @@ ingress:
5757 name : ' {{ ternary (include "seleniumGrid.router.fullname" $ ) (include "seleniumGrid.hub.fullname" $ ) $.Values.isolateComponents }}'
5858 port :
5959 number : 4444
60+ tls :
61+ - hosts :
62+ - ' *.my.domain.com'
6063
6164isolateComponents : true
6265
Original file line number Diff line number Diff line change @@ -58,6 +58,9 @@ selenium-grid:
5858 name : ' {{ ternary (include "seleniumGrid.router.fullname" $ ) (include "seleniumGrid.hub.fullname" $ ) $.Values.isolateComponents }}'
5959 port :
6060 number : 4444
61+ tls :
62+ - hosts :
63+ - ' *.my.domain.com'
6164
6265 isolateComponents : true
6366
You can’t perform that action at this time.
0 commit comments