Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add updated NSX Operator CRDs #591

Merged
merged 1 commit into from
Sep 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions docs/supervisor-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ The default list of blocked resources in configmap is:

### vSphere with Tanzu Supervisor Cluster resources

addressbindings.crd.nsx.vmware.com
agentinstalls.installers.tmc.cloud.vmware.com
availabilityzones.topology.tanzu.vmware.com
aviloadbalancerconfigs.netoperator.vmware.com
Expand Down Expand Up @@ -57,9 +58,11 @@ The default list of blocked resources in configmap is:
imagedisks.imagecontroller.vmware.com
installoptions.appplatform.wcp.vmware.com
installrequirements.appplatform.wcp.vmware.com
ipaddressallocations.crd.nsx.vmware.com
ipamblocks.crd.projectcalico.org
ipamconfigs.crd.projectcalico.org
ipamhandles.crd.projectcalico.org
ipblocksinfos.crd.nsx.vmware.com
ippools.crd.projectcalico.org
ippools.netoperator.vmware.com
ippools.nsx.vmware.com
Expand All @@ -78,20 +81,13 @@ The default list of blocked resources in configmap is:
members.registryagent.vmware.com
namespacenetworkinfos.nsx.vmware.com
ncpconfigs.nsx.vmware.com
networkinfos.crd.nsx.vmware.com
networkinterfaces.netoperator.vmware.com
networks.netoperator.vmware.com
nsxerrors.nsx.vmware.com
nsxlocks.nsx.vmware.com
nsxnetworkconfigurations.nsx.vmware.com
nsxnetworkinterfaces.nsx.vmware.com
vpcnetworkconfigurations.nsx.vmware.com
networkinfos.nsx.vmware.com
subnets.nsx.vmware.com
subnetsets.nsx.vmware.com
subnetports.nsx.vmware.com
staticroutes.nsx.vmware.com
ippools.nsx.vmware.com
securitypolicies.nsx.vmware.com
nsxserviceaccounts.nsx.vmware.com
orders.acme.cert-manager.io
persistenceinstanceinfoes.psp.wcp.vmware.com
Expand All @@ -104,11 +100,17 @@ The default list of blocked resources in configmap is:
resourcecheckreports.psp.wcp.vmware.com
resourcechecks.psp.wcp.vmware.com
routesets.nsx.vmware.com
securitypolicies.crd.nsx.vmware.com
securitypolicies.nsx.vmware.com
statefuldrainnodes.psp.wcp.vmware.com
statefulreadynodes.psp.wcp.vmware.com
staticroutes.crd.nsx.vmware.com
storagepolicies.appplatform.wcp.vmware.com
storagepolicies.psp.wcp.vmware.com
storagepools.cns.vmware.com
subnets.crd.nsx.vmware.com
subnetports.crd.nsx.vmware.com
subnetsets.crd.nsx.vmware.com
supervisorservices.appplatform.wcp.vmware.com
tanzukubernetesaddons.run.tanzu.vmware.com
tanzukubernetesclusters.run.tanzu.vmware.com
Expand All @@ -126,6 +128,7 @@ The default list of blocked resources in configmap is:
virtualnetworkinterfaces.vmware.com
virtualnetworks.vmware.com
vmxnet3networkinterfaces.netoperator.vmware.com
vpcnetworkconfigurations.crd.nsx.vmware.com
vspheredistributednetworks.netoperator.vmware.com
wcpclusters.infrastructure.cluster.vmware.com
wcpmachines.infrastructure.cluster.vmware.com
Expand Down
18 changes: 11 additions & 7 deletions pkg/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ const (
// words get an "s" attached.
var ResourcesToBlock = map[string]bool{
// Kubernetes with vSphere Supervisor Cluster resources
"addressbindings.crd.nsx.vmware.com": true,
"agentinstalls.installers.tmc.cloud.vmware.com": true,
"availabilityzones.topology.tanzu.vmware.com": true,
"aviloadbalancerconfigs.netoperator.vmware.com": true,
Expand Down Expand Up @@ -239,9 +240,11 @@ var ResourcesToBlock = map[string]bool{
//"images.imagecontroller.vmware.com": true, // DO NOT ADD IT BACK
"installoptions.appplatform.wcp.vmware.com": true,
"installrequirements.appplatform.wcp.vmware.com": true,
"ipaddressallocations.crd.nsx.vmware.com": true,
"ipamblocks.crd.projectcalico.org": true,
"ipamconfigs.crd.projectcalico.org": true,
"ipamhandles.crd.projectcalico.org": true,
"ipblocksinfos.crd.nsx.vmware.com": true,
"ippools.crd.projectcalico.org": true,
"ippools.netoperator.vmware.com": true,
"ippools.nsx.vmware.com": true,
Expand All @@ -263,20 +266,14 @@ var ResourcesToBlock = map[string]bool{
// 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
"networkinfos.crd.nsx.vmware.com": true,
"networkinterfaces.netoperator.vmware.com": true,
"networks.netoperator.vmware.com": true,
"nsxerrors.nsx.vmware.com": true,
//"nsxlbmonitors.vmware.com": true, // DO NOT ADD IT BACK
//"nsxloadbalancermonitors.vmware.com": true, // DO NOT ADD IT BACK
"nsxlocks.nsx.vmware.com": true,
"nsxnetworkinterfaces.nsx.vmware.com": true,
"vpcnetworkconfigurations.nsx.vmware.com": true,
"networkinfos.nsx.vmware.com": true,
"subnets.nsx.vmware.com": true,
"subnetsets.nsx.vmware.com": true,
"subnetports.nsx.vmware.com": true,
"staticroutes.nsx.vmware.com": true,
"securitypolicies.nsx.vmware.com": true,
"nsxnetworkconfigurations.nsx.vmware.com": true,
"nsxserviceaccounts.nsx.vmware.com": true,
"orders.acme.cert-manager.io": true,
Expand All @@ -290,11 +287,17 @@ var ResourcesToBlock = map[string]bool{
"resourcecheckreports.psp.wcp.vmware.com": true,
"resourcechecks.psp.wcp.vmware.com": true,
"routesets.nsx.vmware.com": true,
"securitypolicies.crd.nsx.vmware.com": true,
"securitypolicies.nsx.vmware.com": true,
"statefuldrainnodes.psp.wcp.vmware.com": true,
"statefulreadynodes.psp.wcp.vmware.com": true,
"staticroutes.crd.nsx.vmware.com": true,
"storagepolicies.appplatform.wcp.vmware.com": true,
"storagepolicies.psp.wcp.vmware.com": true,
"storagepools.cns.vmware.com": true,
"subnetports.crd.nsx.vmware.com": true,
"subnets.crd.nsx.vmware.com": true,
"subnetsets.crd.nsx.vmware.com": true,
"supervisorservices.appplatform.wcp.vmware.com": true,
"tanzukubernetesaddons.run.tanzu.vmware.com": true,
"tanzukubernetesclusters.run.tanzu.vmware.com": true,
Expand All @@ -312,6 +315,7 @@ var ResourcesToBlock = map[string]bool{
"virtualnetworkinterfaces.vmware.com": true,
"virtualnetworks.vmware.com": true,
"vmxnet3networkinterfaces.netoperator.vmware.com": true,
"vpcnetworkconfigurations.crd.nsx.vmware.com": true,
"vspheredistributednetworks.netoperator.vmware.com": true,
"wcpclusters.infrastructure.cluster.vmware.com": true,
"wcpnamespaces.appplatform.wcp.vmware.com": true,
Expand Down
Loading