Exclude "csinodes.storage.k8s.io" and "volumeattachments.storage.k8s.io" from backup and restore by default. (#5064)

Signed-off-by: Xun Jiang <jxun@vmware.com>

Signed-off-by: Xun Jiang <jxun@vmware.com>
Signed-off-by: Xun Jiang/Bruce Jiang <59276555+blackpiglet@users.noreply.github.com>
This commit is contained in:
Xun Jiang/Bruce Jiang
2022-09-29 15:24:06 +08:00
committed by GitHub
parent eec27e942e
commit 3f3a5050d6
2 changed files with 7 additions and 0 deletions

View File

@@ -78,6 +78,12 @@ var nonRestorableResources = []string{
// https://github.com/vmware-tanzu/velero/issues/1113
"resticrepositories.velero.io",
// CSINode delegates cluster node for CSI operation.
// VolumeAttachement records PV mounts to which node.
// https://github.com/vmware-tanzu/velero/issues/4823
"csinodes.storage.k8s.io",
"volumeattachments.storage.k8s.io",
// Backup repositories were renamed from Restic repositories
"backuprepositories.velero.io",
}