From 76770e7ab05e90019b227f4970aeb014e89946a5 Mon Sep 17 00:00:00 2001 From: huabing zhao Date: Fri, 19 Apr 2024 16:20:26 -0700 Subject: [PATCH] fix Signed-off-by: huabing zhao --- api/v1alpha1/clienttrafficpolicy_types.go | 2 -- site/content/en/latest/api/extension_types.md | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/api/v1alpha1/clienttrafficpolicy_types.go b/api/v1alpha1/clienttrafficpolicy_types.go index ff1cd313f03..882bf408850 100644 --- a/api/v1alpha1/clienttrafficpolicy_types.go +++ b/api/v1alpha1/clienttrafficpolicy_types.go @@ -208,8 +208,6 @@ type HTTP10Settings struct { type HTTP2Settings struct { // InitialStreamWindowSize sets the initial window size for HTTP/2 streams. // If not set, the default value is 64 KiB(64*1024). - // +kubebuilder:validation:Minimum=65535 - // +kubebuilder:validation:Maximum=2147483647 // +optional r\"^[1-9]+[0-9]*([EPTGMK]i|[EPTGMk])?$\" InitialStreamWindowSize *Size `json:"initialStreamWindowSize,omitempty"` diff --git a/site/content/en/latest/api/extension_types.md b/site/content/en/latest/api/extension_types.md index 25e7a7dba1d..88672c2bfc0 100644 --- a/site/content/en/latest/api/extension_types.md +++ b/site/content/en/latest/api/extension_types.md @@ -1494,7 +1494,7 @@ _Appears in:_ | Field | Type | Required | Description | | --- | --- | --- | --- | -| `initialStreamWindowSize` | _[Size](#size)_ | false | InitialStreamWindowSize sets the initial window size for HTTP/2 streams.
If not set, the default value is 64 KiB(64*1024). | +| `initialStreamWindowSize` | _[Size](#size)_ | true | InitialStreamWindowSize sets the initial window size for HTTP/2 streams.
If not set, the default value is 64 KiB(64*1024). | | `initialConnectionWindowSize` | _[Size](#size)_ | false | InitialConnectionWindowSize sets the initial window size for HTTP/2 connections.
If not set, the default value is 1 MiB(1024*1024). |