Skip to content

Commit

Permalink
3 new fields on NC.
Browse files Browse the repository at this point in the history
  • Loading branch information
keithnguyen committed Mar 7, 2025
1 parent ee1072e commit 407a852
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions crd/nodenetworkconfig/api/v1alpha/nodenetworkconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,12 @@ type NetworkContainer struct {
// +kubebuilder:default=vnet
Type NCType `json:"type,omitempty"`
PrimaryIP string `json:"primaryIP,omitempty"`
PrimaryIPV6 string `json:"primaryIPV6,omitempty"`
SubnetName string `json:"subnetName,omitempty"`
IPAssignments []IPAssignment `json:"ipAssignments,omitempty"`
DefaultGateway string `json:"defaultGateway,omitempty"`
DefaultGatewayV6 string `json:"defaultGatewayV6,omitempty"`
MacAddress string `json:"macAddress,omitempty"`
SubnetAddressSpace string `json:"subnetAddressSpace,omitempty"`
// +kubebuilder:default=0
// +kubebuilder:validation:Optional
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.16.3
controller-gen.kubebuilder.io/version: v0.17.2
name: nodenetworkconfigs.acn.azure.com
spec:
group: acn.azure.com
Expand Down Expand Up @@ -124,6 +124,8 @@ spec:
type: string
type: object
type: array
macAddress:
type: string
nodeIP:
type: string
primaryIP:
Expand Down

0 comments on commit 407a852

Please sign in to comment.