Skip to content

Commit

Permalink
Update _helpers.tpl to adress missing resource limits in pre-puller i…
Browse files Browse the repository at this point in the history
…nit 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
  • Loading branch information
Koeppchen authored Sep 17, 2024
1 parent 7dc9f18 commit 35fafaf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions charts/selenium-grid/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -306,10 +306,16 @@ template:
- name: "pre-puller-{{ .name }}"
image: {{ printf "%s/%s:%s" $nodeImageRegistry .node.imageName $nodeImageTag }}
command: ["bash", "-c", "'true'"]
{{- with .node.resources }}
resources: {{- toYaml . | nindent 10 }}
{{- end }}
{{- if $.Values.videoRecorder.enabled }}
- name: "pre-puller-{{ $.Values.videoRecorder.name }}"
image: {{ printf "%s/%s:%s" $videoImageRegistry $.Values.videoRecorder.imageName $videoImageTag }}
command: ["bash", "-c", "'true'"]
{{- with .node.resources }}
resources: {{- toYaml . | nindent 10 }}
{{- end }}
{{- end }}
{{- with .node.initContainers }}
{{- toYaml . | nindent 6 }}
Expand Down

0 comments on commit 35fafaf

Please sign in to comment.