Skip to content

Commit

Permalink
Remove NetworkAttachmentDefinition from skip list (#470)
Browse files Browse the repository at this point in the history
Signed-off-by: xinyanw409 <[email protected]>
  • Loading branch information
xinyanw409 authored May 10, 2022
1 parent b63f97d commit 6642595
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 0 additions & 2 deletions docs/supervisor-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ To avoid these errors, exclude the resources from your backups. The current list
members.registryagent.vmware.com
namespacenetworkinfos.nsx.vmware.com
ncpconfigs.nsx.vmware.com
network-attachment-definitions.k8s.cni.cncf.io
networkattachmentdefinitions.k8s.cni.cncf.io
networkinterfaces.netoperator.vmware.com
networks.netoperator.vmware.com
nsxerrors.nsx.vmware.com
Expand Down
5 changes: 3 additions & 2 deletions pkg/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,9 @@ var ResourcesToBlock = map[string]bool{
"members.registryagent.vmware.com": true,
"namespacenetworkinfos.nsx.vmware.com": true,
"ncpconfigs.nsx.vmware.com": true,
"network-attachment-definitions.k8s.cni.cncf.io": true, // real name of NetworkAttachmentDefinition
"networkattachmentdefinitions.k8s.cni.cncf.io": true, // parsed name of NetworkAttachmentDefinition
// We comment the NetworkAttachmentDefinition resource out as it is not a vSphere specific resource
//"network-attachment-definitions.k8s.cni.cncf.io": true, // real name of NetworkAttachmentDefinition
//"networkattachmentdefinitions.k8s.cni.cncf.io": true, // parsed name of NetworkAttachmentDefinition
"networkinterfaces.netoperator.vmware.com": true,
"networks.netoperator.vmware.com": true,
"nsxerrors.nsx.vmware.com": true,
Expand Down

0 comments on commit 6642595

Please sign in to comment.