File tree 8 files changed +23
-15
lines changed
charts/selenium-grid/templates
tests/charts/templates/render
8 files changed +23
-15
lines changed Original file line number Diff line number Diff line change 13
13
request-timeout :
14
14
description : ' Test parameter for different request timeout'
15
15
required : false
16
- default : ' 370 '
16
+ default : ' 15 '
17
17
max-replicas-count :
18
18
description : ' Test parameter for autoscaling to set maxReplicaCount'
19
19
required : false
20
- default : ' 30 '
20
+ default : ' 10 '
21
21
log-level :
22
22
description : ' Test parameter for different log level'
23
23
required : false
@@ -148,8 +148,8 @@ jobs:
148
148
echo "SET_MAX_REPLICAS=${SET_MAX_REPLICAS}" >> $GITHUB_ENV
149
149
echo "LOG_LEVEL=${LOG_LEVEL}" >> $GITHUB_ENV
150
150
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 ' }}
153
153
LOG_LEVEL : ${{ github.event.inputs.log-level || 'FINE' }}
154
154
- name : Test Selenium Grid on Kubernetes ${{ matrix.k8s-version }} with Autoscaling ${{ matrix.test-strategy }}
155
155
uses : nick-invision/retry@master
Original file line number Diff line number Diff line change 44
44
{{- range .hosts }}
45
45
- {{ tpl . $ | quote }}
46
46
{{- end }}
47
- secretName : {{ tpl (.secretName) $ | quote }}
47
+ secretName : {{ tpl (default "" .secretName) $ | quote }}
48
48
{{- end }}
49
49
{{- end }}
50
50
rules :
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ kind: Job
4
4
metadata :
5
5
name : {{ template "seleniumGrid.keda.patchObjectsJob.fullname" $ }}
6
6
namespace : {{ .Release.Namespace }}
7
- annotations : &patch_objects_job_annotations
8
7
{{- with $.Values.autoscaling.patchObjectFinalizers.annotations }}
8
+ annotations : &patch_objects_job_annotations
9
9
{{- toYaml . | nindent 4 }}
10
10
{{- end }}
11
11
labels : &patch_objects_job_labels
@@ -18,8 +18,10 @@ metadata:
18
18
spec :
19
19
template :
20
20
metadata :
21
- labels : *patch_objects_job_labels
21
+ {{- with $.Values.autoscaling.patchObjectFinalizers.annotations }}
22
22
annotations : *patch_objects_job_annotations
23
+ {{- end }}
24
+ labels : *patch_objects_job_labels
23
25
name : {{ template "seleniumGrid.keda.patchObjectsJob.fullname" $ }}
24
26
spec :
25
27
activeDeadlineSeconds : {{ $.Values.autoscaling.patchObjectFinalizers.activeDeadlineSeconds }}
Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ kind: Role
4
4
metadata :
5
5
name : {{ template "seleniumGrid.rbac.role.fullname" $ }}
6
6
namespace : {{ .Release.Namespace }}
7
+ {{- with $.Values.rbacRole.annotations }}
7
8
annotations :
8
- {{- with $.Values.rbacRole.annotations }}
9
- {{- toYaml . | nindent 4 }}
10
- {{- end }}
9
+ {{- toYaml . | nindent 4 }}
10
+ {{- end }}
11
11
labels :
12
12
deploymentName : {{ template "seleniumGrid.rbac.role.fullname" $ }}
13
13
{{- include "seleniumGrid.commonLabels" $ | nindent 4 }}
Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ kind: RoleBinding
4
4
metadata :
5
5
name : {{ template "seleniumGrid.rbac.roleBinding.fullname" $ }}
6
6
namespace : {{ .Release.Namespace }}
7
+ {{- with $.Values.rbacRoleBinding.annotations }}
7
8
annotations :
8
- {{- with $.Values.rbacRoleBinding.annotations }}
9
- {{- toYaml . | nindent 4 }}
10
- {{- end }}
9
+ {{- toYaml . | nindent 4 }}
10
+ {{- end }}
11
11
labels :
12
12
deploymentName : {{ template "seleniumGrid.rbac.roleBinding.fullname" $ }}
13
13
{{- include "seleniumGrid.commonLabels" $ | nindent 4 }}
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ metadata:
13
13
{{- end }}
14
14
data :
15
15
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 }}
18
18
{{- end }}
19
19
{{- if .Values.tls.enabled }}
20
20
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:
57
57
name : ' {{ ternary (include "seleniumGrid.router.fullname" $ ) (include "seleniumGrid.hub.fullname" $ ) $.Values.isolateComponents }}'
58
58
port :
59
59
number : 4444
60
+ tls :
61
+ - hosts :
62
+ - ' *.my.domain.com'
60
63
61
64
isolateComponents : true
62
65
Original file line number Diff line number Diff line change @@ -58,6 +58,9 @@ selenium-grid:
58
58
name : ' {{ ternary (include "seleniumGrid.router.fullname" $ ) (include "seleniumGrid.hub.fullname" $ ) $.Values.isolateComponents }}'
59
59
port :
60
60
number : 4444
61
+ tls :
62
+ - hosts :
63
+ - ' *.my.domain.com'
61
64
62
65
isolateComponents : true
63
66
You can’t perform that action at this time.
0 commit comments