Skip to content

Commit 407a852

Browse files
author
keithnguyen
committed
3 new fields on NC.
1 parent ee1072e commit 407a852

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

crd/nodenetworkconfig/api/v1alpha/nodenetworkconfig.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,12 @@ type NetworkContainer struct {
119119
// +kubebuilder:default=vnet
120120
Type NCType `json:"type,omitempty"`
121121
PrimaryIP string `json:"primaryIP,omitempty"`
122+
PrimaryIPV6 string `json:"primaryIPV6,omitempty"`
122123
SubnetName string `json:"subnetName,omitempty"`
123124
IPAssignments []IPAssignment `json:"ipAssignments,omitempty"`
124125
DefaultGateway string `json:"defaultGateway,omitempty"`
126+
DefaultGatewayV6 string `json:"defaultGatewayV6,omitempty"`
127+
MacAddress string `json:"macAddress,omitempty"`
125128
SubnetAddressSpace string `json:"subnetAddressSpace,omitempty"`
126129
// +kubebuilder:default=0
127130
// +kubebuilder:validation:Optional

crd/nodenetworkconfig/manifests/acn.azure.com_nodenetworkconfigs.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.16.3
6+
controller-gen.kubebuilder.io/version: v0.17.2
77
name: nodenetworkconfigs.acn.azure.com
88
spec:
99
group: acn.azure.com
@@ -124,6 +124,8 @@ spec:
124124
type: string
125125
type: object
126126
type: array
127+
macAddress:
128+
type: string
127129
nodeIP:
128130
type: string
129131
primaryIP:

0 commit comments

Comments
 (0)