mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-06-10 00:03:10 +00:00
Exclude "csinodes.storage.k8s.io" and "volumeattachments.storage.k8s.io" from backup and restore by default.
Signed-off-by: Xun Jiang <jxun@vmware.com> Signed-off-by: Xun Jiang <blackpiglet@gmail.com>
This commit is contained in:
@@ -75,6 +75,12 @@ var nonRestorableResources = []string{
|
||||
// created as needed if they don't exist.
|
||||
// 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",
|
||||
}
|
||||
|
||||
type restoreController struct {
|
||||
|
||||
Reference in New Issue
Block a user