Skip to content

Commit

Permalink
v3.0.854
Browse files Browse the repository at this point in the history
  • Loading branch information
env0 User committed Aug 25, 2024
1 parent 7f308a2 commit 4a0c932
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions templates/scaled-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,17 @@ spec:
volumeMounts:
- name: home
mountPath: /home-mount
resources:
limits:
{{ if .Values.limits.cpu }}
cpu: "{{ .Values.limits.cpu }}"
{{ end }}
memory: "{{ .Values.limits.memory }}"
{{ if .Values.requests }}
requests:
cpu: "{{ .Values.requests.cpu }}"
memory: "{{ .Values.requests.memory }}"
{{ end }}
{{- end }}
{{- if .Values.initContainer }}
{{ toYaml .Values.initContainer | nindent 12 }}
Expand Down

0 comments on commit 4a0c932

Please sign in to comment.