Skip to content

Commit 8b96984

Browse files
wucm667claude
andcommitted
fix(api): increase RateLimitSelectCondition.headers MaxItems from 16 to 64
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: wucm667 <stevenwucongmin@gmail.com>
1 parent 3a0306e commit 8b96984

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

api/v1alpha1/ratelimit_types.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,9 @@ type RateLimitSelectCondition struct {
228228
// meaning, a request MUST match all the specified headers.
229229
//
230230
// +optional
231-
// +kubebuilder:validation:MaxItems=16
231+
// +kubebuilder:validation:MaxItems=64
232+
// Increase the maxItems from 16 to 64, aligning with HTTPHeaderFilter.
233+
// Revert this change once the upstream Gateway API supports items more than 64.
232234
Headers []HeaderMatch `json:"headers,omitempty"`
233235

234236
// Methods is a list of request methods to match. Multiple method values are ORed together,

0 commit comments

Comments
 (0)