[stable/velero] Make Restic resource requests and limits configurable (#14404)

* [stable/velero] make restic daemonset resource optionally configurable

Signed-off-by: Mathias Merscher <Mathias.Merscher@dg-i.net>

* update README

Signed-off-by: Mathias Merscher <Mathias.Merscher@dg-i.net>

* [stable/velero] bump Chart version

Signed-off-by: Mathias Merscher <Mathias.Merscher@dg-i.net>
This commit is contained in:
Mathias Merscher
2019-06-06 02:40:10 -07:00
committed by Kubernetes Prow Robot
parent 129479c6d2
commit 9be62fd3b8
4 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ apiVersion: v1
appVersion: 1.0.0
description: A Helm chart for velero
name: velero
version: 2.0.6
version: 2.0.7
home: https://github.com/heptio/velero
icon: https://cdn-images-1.medium.com/max/1600/1*-9mb3AKnKdcL_QD3CMnthQ.png
sources:
+1
View File
@@ -93,6 +93,7 @@ Parameter | Description | Default
`schedules` | A dict of schedules | `{}`
`restic.podVolumePath` | Location of pod volumes on the host | `/var/lib/kubelet/pods`
`restic.privileged` | Whether restic should run as a privileged pod. Only necessary in special cases (SELinux) | `false`
`restic.resources` | Restic DaemonSet resource requests and limits | `{}`
## How to
```
@@ -91,7 +91,7 @@ spec:
{{- end }}
securityContext:
privileged: {{ .Values.restic.privileged }}
{{- with .Values.resources }}
{{- with .Values.restic.resources }}
resources:
{{- toYaml . | nindent 12 }}
{{- end }}
+2
View File
@@ -155,6 +155,8 @@ deployRestic: false
restic:
podVolumePath: /var/lib/kubelet/pods
privileged: false
# Resource requests/limits to specify for the Restic daemonset deployment. Optional.
resources: {}
# Backup schedules to create.
# Eg: