From cc29503faf38b7a9491a6ea1ef4e61151d9f4e94 Mon Sep 17 00:00:00 2001 From: caseydavenport <1944093+caseydavenport@users.noreply.github.com> Date: Mon, 5 Oct 2026 13:25:19 +0000 Subject: [PATCH] Automatic API update from tigera/calico-private master --- config/crd/projectcalico.org_networks.yaml | 1 + metadata.mk | 2 +- pkg/apis/projectcalico/v3/network-l2.go | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/config/crd/projectcalico.org_networks.yaml b/config/crd/projectcalico.org_networks.yaml index 7721bd2..aa162a5 100644 --- a/config/crd/projectcalico.org_networks.yaml +++ b/config/crd/projectcalico.org_networks.yaml @@ -329,6 +329,7 @@ spec: required: - vlan type: object + maxItems: 4094 minItems: 1 type: array x-kubernetes-list-type: atomic diff --git a/metadata.mk b/metadata.mk index 03785ef..a3754f5 100644 --- a/metadata.mk +++ b/metadata.mk @@ -118,7 +118,7 @@ WINDOWS_DIST = dist/windows # The Windows HPC container version used as base for Calico Windows images WINDOWS_HPC_VERSION ?= v1.0.0 # The Windows versions used as base for Calico Windows images -WINDOWS_VERSIONS ?= ltsc2019 ltsc2022 +WINDOWS_VERSIONS ?= ltsc2019 ltsc2022 ltsc2025 # The CNI plugin and flannel code that will be cloned and rebuilt with this repo's go-build image. # Pinned so the content-addressed third-party-cni-plugins image hash changes when these move. diff --git a/pkg/apis/projectcalico/v3/network-l2.go b/pkg/apis/projectcalico/v3/network-l2.go index b066048..958a0d3 100644 --- a/pkg/apis/projectcalico/v3/network-l2.go +++ b/pkg/apis/projectcalico/v3/network-l2.go @@ -27,6 +27,7 @@ type L2BridgeSpec struct { // "vlan" field; if spec.vlans has exactly one entry that resolves to // a single VLAN ID, the CNI config "vlan" field may be omitted. // +kubebuilder:validation:MinItems=1 + // +kubebuilder:validation:MaxItems=4094 // +listType=atomic VLANs []L2VLANSpec `json:"vlans" validate:"required,min=1,dive"`