## What this PR does This patch installs the kubevirt-velero-plugin, so that backing up a kubevirt resource such as a VMI will automatically include related items, such as datavolumes, and, eventually, all the way down to pods and volumes. ### Release note ```release-note [backups] Include the kubevirt-velero-plugin with the Velero package. ``` Signed-off-by: Timofei Larkin <lllamnyp@gmail.com>
28 lines
966 B
YAML
28 lines
966 B
YAML
velero:
|
|
# Disable CRD upgrade job - CRDs are installed as part of helm chart
|
|
# The upgrade job has issues with kubectl image compatibility
|
|
upgradeCRDs: false
|
|
initContainers:
|
|
- name: velero-plugin-for-aws
|
|
image: velero/velero-plugin-for-aws:v1.12.1
|
|
imagePullPolicy: IfNotPresent
|
|
volumeMounts:
|
|
- mountPath: /target
|
|
name: plugins
|
|
- image: quay.io/kubevirt/kubevirt-velero-plugin:v0.8.0
|
|
name: kubevirt-kubevirt-velero-plugin
|
|
imagePullPolicy: IfNotPresent
|
|
volumeMounts:
|
|
- mountPath: /target
|
|
name: plugins
|
|
|
|
deployNodeAgent: true
|
|
configuration:
|
|
# defaultVolumesToFsBackup: true
|
|
backupStorageLocation: null
|
|
volumeSnapshotLocation: null
|
|
namespace: cozy-velero
|
|
features: EnableCSI
|
|
# Increase timeout for item operations to 24 hours to prevent timeouts
|
|
# during backups of very large volumes. The Velero default is 4 hours.
|
|
defaultItemOperationTimeout: 24h
|