From 6fe00b52e1014f62f871fdb13f160e23950b41fb Mon Sep 17 00:00:00 2001 From: Roman Willi Date: Mon, 15 Sep 2025 11:42:12 +0200 Subject: [PATCH] issue: increase MaxItems for CACertificateRefs validation --- apis/v1/gateway_types.go | 2 +- .../experimental/gateway.networking.k8s.io_gateways.yaml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apis/v1/gateway_types.go b/apis/v1/gateway_types.go index 10eb5bee06..f65f5aea34 100644 --- a/apis/v1/gateway_types.go +++ b/apis/v1/gateway_types.go @@ -750,7 +750,7 @@ type FrontendTLSValidation struct { // // +required // +listType=atomic - // +kubebuilder:validation:MaxItems=8 + // +kubebuilder:validation:MaxItems=32 // +kubebuilder:validation:MinItems=1 CACertificateRefs []ObjectReference `json:"caCertificateRefs"` diff --git a/config/crd/experimental/gateway.networking.k8s.io_gateways.yaml b/config/crd/experimental/gateway.networking.k8s.io_gateways.yaml index 563669ba35..d8e7876b04 100644 --- a/config/crd/experimental/gateway.networking.k8s.io_gateways.yaml +++ b/config/crd/experimental/gateway.networking.k8s.io_gateways.yaml @@ -1095,7 +1095,7 @@ spec: - kind - name type: object - maxItems: 8 + maxItems: 32 minItems: 1 type: array x-kubernetes-list-type: atomic @@ -1238,7 +1238,7 @@ spec: - kind - name type: object - maxItems: 8 + maxItems: 32 minItems: 1 type: array x-kubernetes-list-type: atomic @@ -2670,7 +2670,7 @@ spec: - kind - name type: object - maxItems: 8 + maxItems: 32 minItems: 1 type: array x-kubernetes-list-type: atomic @@ -2813,7 +2813,7 @@ spec: - kind - name type: object - maxItems: 8 + maxItems: 32 minItems: 1 type: array x-kubernetes-list-type: atomic