File tree 7 files changed +41
-8
lines changed
charts/selenium-grid/templates
7 files changed +41
-8
lines changed Original file line number Diff line number Diff line change @@ -25,14 +25,14 @@ spec:
25
25
{{- if and (or .Values.tls.enabled .Values.tls.ingress.generateTLS) (tpl .Values.ingress.hostname $) (not .Values.ingress.tls) }}
26
26
tls :
27
27
- hosts :
28
- - {{ tpl .Values.ingress.hostname $ }}
28
+ - {{ tpl .Values.ingress.hostname $ | quote }}
29
29
secretName : {{ include "seleniumGrid.tls.fullname" $ | quote }}
30
30
{{- else if .Values.ingress.tls }}
31
31
tls :
32
32
{{- range .Values.ingress.tls }}
33
33
- hosts :
34
34
{{- range .hosts }}
35
- - {{ tpl . $ }}
35
+ - {{ tpl . $ | quote }}
36
36
{{- end }}
37
37
secretName : {{ tpl (default (include "seleniumGrid.tls.fullname" $) .secretName) $ | quote }}
38
38
{{- end }}
Original file line number Diff line number Diff line change 58
58
{{- end }}
59
59
volumeMounts :
60
60
{{- if .Values.videoManager.extraVolumeMounts }}
61
- {{- tpl (toYaml .) $ | nindent 12 }}
61
+ {{- tpl (toYaml .Values.videoManager.extraVolumeMounts ) $ | nindent 12 }}
62
62
{{- else }}
63
63
- name : srv
64
64
mountPath : /srv
@@ -113,7 +113,7 @@ spec:
113
113
{{- end }}
114
114
volumes :
115
115
{{- if .Values.videoManager.extraVolumes }}
116
- {{ tpl (toYaml .) $ | nindent 8 }}
116
+ {{- tpl (toYaml .Values.videoManager.extraVolumes ) $ | nindent 8 }}
117
117
{{- else }}
118
118
- name : srv
119
119
emptyDir : {}
Original file line number Diff line number Diff line change @@ -25,14 +25,14 @@ spec:
25
25
{{- if and (or .Values.tls.enabled .Values.tls.ingress.generateTLS) (tpl .Values.ingress.hostname $) (not .Values.ingress.tls) }}
26
26
tls :
27
27
- hosts :
28
- - {{ tpl .Values.ingress.hostname $ }}
28
+ - {{ tpl .Values.ingress.hostname $ | quote }}
29
29
secretName : {{ include "seleniumGrid.tls.fullname" $ | quote }}
30
30
{{- else if .Values.ingress.tls }}
31
31
tls :
32
32
{{- range .Values.ingress.tls }}
33
33
- hosts :
34
34
{{- range .hosts }}
35
- - {{ tpl . $ }}
35
+ - {{ tpl . $ | quote }}
36
36
{{- end }}
37
37
secretName : {{ tpl (default (include "seleniumGrid.tls.fullname" $) .secretName) $ | quote }}
38
38
{{- end }}
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ helm package charts/selenium-grid --version 1.0.0-SNAPSHOT -d tests/tests
16
16
17
17
RELEASE_NAME=" selenium"
18
18
19
- helm template ${RELEASE_NAME} --values tests/charts/templates/render/dummy.yaml \
19
+ helm template --debug ${RELEASE_NAME} --values tests/charts/templates/render/dummy.yaml \
20
20
--set-file ' nodeConfigMap.extraScripts.setFromCommand\.sh=tests/charts/templates/render/dummy_external.sh' \
21
21
--set-file ' recorderConfigMap.extraScripts.setFromCommand\.sh=tests/charts/templates/render/dummy_external.sh' \
22
22
--set-file ' uploaderConfigMap.extraScripts.setFromCommand\.sh=tests/charts/templates/render/dummy_external.sh' \
@@ -35,7 +35,7 @@ helm package tests/charts/umbrella-charts --version 1.0.0-SNAPSHOT -d tests/test
35
35
36
36
RELEASE_NAME=" test"
37
37
38
- helm template ${RELEASE_NAME} --values tests/charts/templates/render/dummy_solution.yaml \
38
+ helm template --debug ${RELEASE_NAME} --values tests/charts/templates/render/dummy_solution.yaml \
39
39
--set-file ' selenium-grid.nodeConfigMap.extraScripts.setFromCommand\.sh=tests/charts/templates/render/dummy_external.sh' \
40
40
--set-file ' selenium-grid.recorderConfigMap.extraScripts.setFromCommand\.sh=tests/charts/templates/render/dummy_external.sh' \
41
41
--set-file ' selenium-grid.uploaderConfigMap.extraScripts.setFromCommand\.sh=tests/charts/templates/render/dummy_external.sh' \
Original file line number Diff line number Diff line change @@ -26,3 +26,14 @@ videoRecorder:
26
26
RCLONE_CONFIG_MYFTP_USER : " seluser"
27
27
RCLONE_CONFIG_MYFTP_PASS : " KkK8RsUIba-MMTBUSnuYIdAKvcnFyLl2pdhQig"
28
28
RCLONE_CONFIG_MYFTP_FTP_CONCURRENCY : " 5"
29
+
30
+ videoManager :
31
+ enabled : true
32
+ extraVolumeMounts :
33
+ - name : srv
34
+ mountPath : /srv
35
+ subPath : srv
36
+ extraVolumes :
37
+ - name : srv
38
+ persistentVolumeClaim :
39
+ claimName : ${TEST_PV_CLAIM_NAME}
Original file line number Diff line number Diff line change @@ -200,3 +200,14 @@ uploaderConfigMap:
200
200
upload.sh : |
201
201
#!/bin/bash
202
202
echo "This is override script"
203
+
204
+ videoManager :
205
+ enabled : true
206
+ extraVolumeMounts :
207
+ - name : srv
208
+ mountPath : /srv
209
+ subPath : srv
210
+ extraVolumes :
211
+ - name : srv
212
+ persistentVolumeClaim :
213
+ claimName : my-external-pvc
Original file line number Diff line number Diff line change @@ -188,3 +188,14 @@ selenium-grid:
188
188
upload.sh : |
189
189
#!/bin/bash
190
190
echo "This is override script"
191
+
192
+ videoManager :
193
+ enabled : true
194
+ extraVolumeMounts :
195
+ - name : srv
196
+ mountPath : /srv
197
+ subPath : srv
198
+ extraVolumes :
199
+ - name : srv
200
+ persistentVolumeClaim :
201
+ claimName : my-external-pvc
You can’t perform that action at this time.
0 commit comments