mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-05-01 21:05:46 +00:00
Merge pull request #5448 from blackpiglet/release-1.9
[cherry-pick][release-1.9] Exclude "csinodes.storage.k8s.io" and "volumeattachments.storage.k8s.…
This commit is contained in:
1
changelogs/unreleased/5448-jxun
Normal file
1
changelogs/unreleased/5448-jxun
Normal file
@@ -0,0 +1 @@
|
||||
Exclude "csinodes.storage.k8s.io" and "volumeattachments.storage.k8s.io" from restore by default.
|
||||
@@ -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