This change addresses some updates to NSX Operator CRDs. NSX Operator has updated their API Group from "nsx.vmware.com" to "crd.nsx.vmware.com" for a handful of their CRDs - particularly related to VPCs. Additionally, a few CRDs have been removed/added. These CRDs are yet to be released, so there is no breaking change here.
NSX T1-based CRDs are unchanged.
Which issue(s) this PR fixes:
n/a
Special notes for your reviewer:
n/a
Does this PR introduce a user-facing change?:
This change updates the blocked NSX Operator CRDs to point to their new API Group, `crd.nsx.vmware.com`, and reconciles all new CRDs being pushed by NSX Operator.
Testing Done
Setup
I deployed a Supervisor with NSX VPC. I created a namespace with corresponding resources updated in this ConfigMap. Additionally, subnetsets.crd.nsx.vmware.com and networkinfos.crd.nsx.vmware.com are already present by default. Finally, I installed Velero with this custom Velero vSphere Plugin.
Tests
[x] Validated the velero-vsphere-plugin-blocked-resources-list successfully shows the resources I added in this PR.
[x] Created a backup of a namespace with no manual exclusions. Validated that the resources in the backup show an error on the resources I added to be blocked (sample below), and that the --details view shows that no NSX CRDs are backed up.
What this PR does / why we need it:
This change addresses some updates to NSX Operator CRDs. NSX Operator has updated their API Group from "nsx.vmware.com" to "crd.nsx.vmware.com" for a handful of their CRDs - particularly related to VPCs. Additionally, a few CRDs have been removed/added. These CRDs are yet to be released, so there is no breaking change here.
NSX T1-based CRDs are unchanged.
Which issue(s) this PR fixes:
n/a
Special notes for your reviewer:
n/a
Does this PR introduce a user-facing change?:
Testing Done
Setup
I deployed a Supervisor with NSX VPC. I created a namespace with corresponding resources updated in this ConfigMap. Additionally,
subnetsets.crd.nsx.vmware.com
andnetworkinfos.crd.nsx.vmware.com
are already present by default. Finally, I installed Velero with this custom Velero vSphere Plugin.Tests
velero-vsphere-plugin-blocked-resources-list
successfully shows the resources I added in this PR.--details
view shows that no NSX CRDs are backed up.Logs also indicated this: