Skip to content

Commit

Permalink
[CRD] Add field nsxtVPC in VPCNetworkConfiguration
Browse files Browse the repository at this point in the history
  • Loading branch information
wenyingd committed Jul 8, 2024
1 parent 4bc8285 commit f9e9b13
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build/yaml/crd/nsx.vmware.com_vpcnetworkconfigurations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ spec:
context in logs. Less than or equal to 8 characters.
maxLength: 8
type: string
vpcPath:
description: Policy path of the NSX VPC the Namespace associated with.
type: string
type: object
status:
description: VPCNetworkConfigurationStatus defines the observed state
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ type VPCNetworkConfigurationSpec struct {
// +kubebuilder:validation:MaxLength=8
// +optional
ShortID string `json:"shortID,omitempty"`
// Policy path of the NSX VPC the Namespace associated with.
// +optional
VPCPath string `json:"vpcPath,omitempty"`
}

// VPCNetworkConfigurationStatus defines the observed state of VPCNetworkConfiguration
Expand Down
3 changes: 3 additions & 0 deletions pkg/apis/v1alpha1/vpcnetworkconfiguration_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ type VPCNetworkConfigurationSpec struct {
// +kubebuilder:validation:MaxLength=8
// +optional
ShortID string `json:"shortID,omitempty"`
// Policy path of the NSX VPC the Namespace associated with.
// +optional
VPCPath string `json:"vpcPath,omitempty"`
}

// VPCNetworkConfigurationStatus defines the observed state of VPCNetworkConfiguration
Expand Down

0 comments on commit f9e9b13

Please sign in to comment.