Skip to content

Commit c9ca1a6

Browse files
author
keithnguyen
committed
3 new fields on NC.
1 parent 1734c24 commit c9ca1a6

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
@@ -122,6 +122,8 @@ spec:
122122
type: string
123123
type: object
124124
type: array
125+
macAddress:
126+
type: string
125127
nodeIP:
126128
type: string
127129
primaryIP:

0 commit comments

Comments
 (0)