Skip to content

Commit

Permalink
Refine NetworkInfo CR VPCState.LoadBalancerIPAddresses description
Browse files Browse the repository at this point in the history
In NSX LB, we don't set NSX LN SNAT IPs in NetworkInfo CR VPCState.LoadBalancerIPAddresses
and leave it as empty.
So, removing the description of adding NSX LB IPs not to make users confuse.
  • Loading branch information
timdengyun committed Jan 15, 2025
1 parent 6fd18c9 commit 4e913b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions build/yaml/crd/vpc/crd.nsx.vmware.com_networkinfos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ spec:
description: Default SNAT IP for Private Subnets.
type: string
loadBalancerIPAddresses:
description: LoadBalancerIPAddresses (AVI SE Subnet CIDR or NSX
LB SNAT IPs).
description: LoadBalancerIPAddresses (AVI SE Subnet CIDR).
type: string
name:
description: VPC name.
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/vpc/v1alpha1/networkinfo_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ type VPCState struct {
Name string `json:"name"`
// Default SNAT IP for Private Subnets.
DefaultSNATIP string `json:"defaultSNATIP"`
// LoadBalancerIPAddresses (AVI SE Subnet CIDR or NSX LB SNAT IPs).
// LoadBalancerIPAddresses (AVI SE Subnet CIDR).
LoadBalancerIPAddresses string `json:"loadBalancerIPAddresses,omitempty"`
// Private CIDRs used for the VPC.
PrivateIPs []string `json:"privateIPs,omitempty"`
Expand Down

0 comments on commit 4e913b5

Please sign in to comment.