diff --git a/charts/velero/Chart.yaml b/charts/velero/Chart.yaml index f33c7074..e9802342 100644 --- a/charts/velero/Chart.yaml +++ b/charts/velero/Chart.yaml @@ -3,7 +3,7 @@ appVersion: 1.14.0 kubeVersion: ">=1.16.0-0" description: A Helm chart for velero name: velero -version: 7.1.1 +version: 7.1.2 home: https://github.com/vmware-tanzu/velero icon: https://cdn-images-1.medium.com/max/1600/1*-9mb3AKnKdcL_QD3CMnthQ.png sources: diff --git a/charts/velero/templates/deployment.yaml b/charts/velero/templates/deployment.yaml index 448e8bf7..e374200a 100644 --- a/charts/velero/templates/deployment.yaml +++ b/charts/velero/templates/deployment.yaml @@ -166,6 +166,14 @@ spec: {{- with .namespace }} - --namespace={{ . }} {{- end }} + {{- with .repository-maintenance-job.requests }} + - --maintenance-job-cpu-request={{ .cpu }} + - --maintenance-job-mem-request={{ .memory }} + {{- end }} + {{- with .repository-maintenance-job.limits }} + - --maintenance-job-cpu-limit={{ .cpu }} + - --maintenance-job-mem-limit={{ .memory }} + {{- end }} {{- with .extraArgs }} ### User-supplied overwrite flags {{- toYaml . | nindent 12 }} diff --git a/charts/velero/values.yaml b/charts/velero/values.yaml index 590eef90..e214a7fa 100644 --- a/charts/velero/values.yaml +++ b/charts/velero/values.yaml @@ -440,6 +440,15 @@ configuration: # Comma separated list of velero feature flags. default: empty # features: EnableCSI features: + # Resource requests/limits to specify for the repository-maintenance job. Optional. + # https://velero.io/docs/v1.14/repository-maintenance/#resource-limitation + repository-maintenance-job: + requests: {} + # cpu: 500m + # memory: 512Mi + limits: {} + # cpu: 1000m + # memory: 1024Mi # `velero server` default: velero namespace: # additional command-line arguments that will be passed to the `velero server`