From 29e2ef796a5817ede4c17654cfa2e702f6deb972 Mon Sep 17 00:00:00 2001 From: Guy Daich Date: Fri, 16 May 2025 17:50:18 -0500 Subject: [PATCH 1/2] fix: add FullDuplexStreamed to enum Signed-off-by: Guy Daich --- api/v1alpha1/ext_proc_types.go | 2 +- .../generated/gateway.envoyproxy.io_envoyextensionpolicies.yaml | 2 ++ .../generated/gateway.envoyproxy.io_envoyextensionpolicies.yaml | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/api/v1alpha1/ext_proc_types.go b/api/v1alpha1/ext_proc_types.go index 88da0123c0..95893d3c61 100644 --- a/api/v1alpha1/ext_proc_types.go +++ b/api/v1alpha1/ext_proc_types.go @@ -9,7 +9,7 @@ import ( gwapiv1 "sigs.k8s.io/gateway-api/apis/v1" ) -// +kubebuilder:validation:Enum=Streamed;Buffered;BufferedPartial +// +kubebuilder:validation:Enum=Streamed;Buffered;BufferedPartial;FullDuplexStreamed type ExtProcBodyProcessingMode string const ( diff --git a/charts/gateway-crds-helm/templates/generated/gateway.envoyproxy.io_envoyextensionpolicies.yaml b/charts/gateway-crds-helm/templates/generated/gateway.envoyproxy.io_envoyextensionpolicies.yaml index 01cb6663b1..7e8fa5d33c 100644 --- a/charts/gateway-crds-helm/templates/generated/gateway.envoyproxy.io_envoyextensionpolicies.yaml +++ b/charts/gateway-crds-helm/templates/generated/gateway.envoyproxy.io_envoyextensionpolicies.yaml @@ -1003,6 +1003,7 @@ spec: - Streamed - Buffered - BufferedPartial + - FullDuplexStreamed type: string type: object response: @@ -1026,6 +1027,7 @@ spec: - Streamed - Buffered - BufferedPartial + - FullDuplexStreamed type: string type: object type: object diff --git a/charts/gateway-helm/crds/generated/gateway.envoyproxy.io_envoyextensionpolicies.yaml b/charts/gateway-helm/crds/generated/gateway.envoyproxy.io_envoyextensionpolicies.yaml index fb4f8bc752..d49a6046d2 100644 --- a/charts/gateway-helm/crds/generated/gateway.envoyproxy.io_envoyextensionpolicies.yaml +++ b/charts/gateway-helm/crds/generated/gateway.envoyproxy.io_envoyextensionpolicies.yaml @@ -1002,6 +1002,7 @@ spec: - Streamed - Buffered - BufferedPartial + - FullDuplexStreamed type: string type: object response: @@ -1025,6 +1026,7 @@ spec: - Streamed - Buffered - BufferedPartial + - FullDuplexStreamed type: string type: object type: object From c030d06abe1599bf54c7a57828ba0f9a7400a732 Mon Sep 17 00:00:00 2001 From: Guy Daich Date: Fri, 16 May 2025 17:58:16 -0500 Subject: [PATCH 2/2] fix gen Signed-off-by: Guy Daich --- test/helm/gateway-crds-helm/all.out.yaml | 2 ++ test/helm/gateway-crds-helm/envoy-gateway-crds.out.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/test/helm/gateway-crds-helm/all.out.yaml b/test/helm/gateway-crds-helm/all.out.yaml index 2612431a81..a18c940126 100644 --- a/test/helm/gateway-crds-helm/all.out.yaml +++ b/test/helm/gateway-crds-helm/all.out.yaml @@ -22006,6 +22006,7 @@ spec: - Streamed - Buffered - BufferedPartial + - FullDuplexStreamed type: string type: object response: @@ -22029,6 +22030,7 @@ spec: - Streamed - Buffered - BufferedPartial + - FullDuplexStreamed type: string type: object type: object diff --git a/test/helm/gateway-crds-helm/envoy-gateway-crds.out.yaml b/test/helm/gateway-crds-helm/envoy-gateway-crds.out.yaml index 9dc657ce74..65b9f354fb 100644 --- a/test/helm/gateway-crds-helm/envoy-gateway-crds.out.yaml +++ b/test/helm/gateway-crds-helm/envoy-gateway-crds.out.yaml @@ -4694,6 +4694,7 @@ spec: - Streamed - Buffered - BufferedPartial + - FullDuplexStreamed type: string type: object response: @@ -4717,6 +4718,7 @@ spec: - Streamed - Buffered - BufferedPartial + - FullDuplexStreamed type: string type: object type: object