Skip to content

Commit 88ecfa4

Browse files
authored
Fix maintenance Job resource requests (#610)
- As written, the chart tries to access .configuration.repositoryMaintenanceJob.requests.cpu.cpu and ...memory.memory, which leads to an error if you actually try to set these values. Signed-off-by: Matt Yaraskavitch <[email protected]>
1 parent 721abcb commit 88ecfa4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

charts/velero/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ appVersion: 1.14.0
33
kubeVersion: ">=1.16.0-0"
44
description: A Helm chart for velero
55
name: velero
6-
version: 7.1.3
6+
version: 7.1.4
77
home: https://github.com/vmware-tanzu/velero
88
icon: https://cdn-images-1.medium.com/max/1600/1*-9mb3AKnKdcL_QD3CMnthQ.png
99
sources:
10-
- https://github.com/vmware-tanzu/velero
10+
- https://github.com/vmware-tanzu/velero
1111
maintainers:
1212
- name: jenting
1313

charts/velero/templates/deployment.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,10 @@ spec:
169169
{{- with .repositoryMaintenanceJob }}
170170
{{- with .requests }}
171171
{{- with .cpu }}
172-
- --maintenance-job-cpu-request={{ .cpu }}
172+
- --maintenance-job-cpu-request={{ . }}
173173
{{- end }}
174174
{{- with .memory }}
175-
- --maintenance-job-mem-request={{ .memory }}
175+
- --maintenance-job-mem-request={{ . }}
176176
{{- end }}
177177
{{- end }}
178178
{{- with .limits }}

0 commit comments

Comments
 (0)