Skip to content

Commit 35fafaf

Browse files
authored
Update _helpers.tpl to adress missing resource limits in pre-puller init containers for firefox,edge,... (#2399)
* Update _helpers.tpl Fixes to have pre-puller initContainer with resource limits. * Update _helpers.tpl Do the same for videoRecorder
1 parent 7dc9f18 commit 35fafaf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

charts/selenium-grid/templates/_helpers.tpl

+6
Original file line numberDiff line numberDiff line change
@@ -306,10 +306,16 @@ template:
306306
- name: "pre-puller-{{ .name }}"
307307
image: {{ printf "%s/%s:%s" $nodeImageRegistry .node.imageName $nodeImageTag }}
308308
command: ["bash", "-c", "'true'"]
309+
{{- with .node.resources }}
310+
resources: {{- toYaml . | nindent 10 }}
311+
{{- end }}
309312
{{- if $.Values.videoRecorder.enabled }}
310313
- name: "pre-puller-{{ $.Values.videoRecorder.name }}"
311314
image: {{ printf "%s/%s:%s" $videoImageRegistry $.Values.videoRecorder.imageName $videoImageTag }}
312315
command: ["bash", "-c", "'true'"]
316+
{{- with .node.resources }}
317+
resources: {{- toYaml . | nindent 10 }}
318+
{{- end }}
313319
{{- end }}
314320
{{- with .node.initContainers }}
315321
{{- toYaml . | nindent 6 }}

0 commit comments

Comments
 (0)