From 49e4ea6ccc85c8921704443fe1175b116a638714 Mon Sep 17 00:00:00 2001 From: Cecile Robert-Michon Date: Fri, 29 Sep 2023 00:47:32 +0000 Subject: [PATCH] add support for byo cni --- api/v1beta1/azuremanagedcontrolplane_types.go | 2 +- ...frastructure.cluster.x-k8s.io_azuremanagedcontrolplanes.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/api/v1beta1/azuremanagedcontrolplane_types.go b/api/v1beta1/azuremanagedcontrolplane_types.go index 4935d1f8413b..9830afef7b15 100644 --- a/api/v1beta1/azuremanagedcontrolplane_types.go +++ b/api/v1beta1/azuremanagedcontrolplane_types.go @@ -118,7 +118,7 @@ type AzureManagedControlPlaneSpec struct { // NetworkPlugin used for building Kubernetes network. // Allowed values are "azure", "kubenet". // Immutable. - // +kubebuilder:validation:Enum=azure;kubenet + // +kubebuilder:validation:Enum=azure;kubenet;none // +optional NetworkPlugin *string `json:"networkPlugin,omitempty"` diff --git a/config/crd/bases/infrastructure.cluster.x-k8s.io_azuremanagedcontrolplanes.yaml b/config/crd/bases/infrastructure.cluster.x-k8s.io_azuremanagedcontrolplanes.yaml index d372ab6cc8e0..e9bcc2643955 100644 --- a/config/crd/bases/infrastructure.cluster.x-k8s.io_azuremanagedcontrolplanes.yaml +++ b/config/crd/bases/infrastructure.cluster.x-k8s.io_azuremanagedcontrolplanes.yaml @@ -374,6 +374,7 @@ spec: enum: - azure - kubenet + - none type: string networkPluginMode: description: NetworkPluginMode is the mode the network plugin should