Skip to content

Commit

Permalink
Remove appliedToNamespaces field from VPCNetworkConfiguration
Browse files Browse the repository at this point in the history
As discussed, we will remove appliedToNamespaces filed in
VPCNetworkConfiguration CR, a label will be added on Namespace
to specify the VPCNetworkConfiguration it uses.
  • Loading branch information
lxiaopei committed Feb 13, 2023
1 parent bb12569 commit 69b0a3b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 14 deletions.
6 changes: 0 additions & 6 deletions build/yaml/crd/nsx.vmware.com_vpcnetworkconfigurations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,6 @@ spec:
When a field is not set in a Namespace's VPCNetworkConfiguration, the
Namespace will use the value in the default VPCNetworkConfiguration.
properties:
appliedToNamespaces:
description: Namespaces to be applied. The default VPCNetworkConfiguration
will not have AppliedToNamespaces set.
items:
type: string
type: array
defaultGatewayPath:
description: PolicyPath of Tier0 or Tier0 VRF gateway.
type: string
Expand Down
3 changes: 0 additions & 3 deletions pkg/apis/v1alpha1/vpcnetworkconfiguration_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ const (
// in a Namespace's VPCNetworkConfiguration, the Namespace will use the value
// in the default VPCNetworkConfiguration.
type VPCNetworkConfigurationSpec struct {
// Namespaces to be applied.
// The default VPCNetworkConfiguration will not have AppliedToNamespaces set.
AppliedToNamespaces []string `json:"appliedToNamespaces,omitempty"`
// PolicyPath of Tier0 or Tier0 VRF gateway.
DefaultGatewayPath string `json:"defaultGatewayPath,omitempty"`
// Edge cluster path on which the networking elements will be created.
Expand Down
5 changes: 0 additions & 5 deletions pkg/apis/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 69b0a3b

Please sign in to comment.