From 96bc751f4e2bd889cbc8acfcad589522f504340f Mon Sep 17 00:00:00 2001 From: Guy Daich Date: Mon, 21 Oct 2024 12:34:15 -0500 Subject: [PATCH] remove validation Signed-off-by: Guy Daich --- api/v1alpha1/connection_types.go | 1 - .../generated/gateway.envoyproxy.io_clienttrafficpolicies.yaml | 3 --- 2 files changed, 4 deletions(-) diff --git a/api/v1alpha1/connection_types.go b/api/v1alpha1/connection_types.go index 3ec58cf89f3..efb24dc3bb1 100644 --- a/api/v1alpha1/connection_types.go +++ b/api/v1alpha1/connection_types.go @@ -63,7 +63,6 @@ type BackendConnection struct { SocketBufferLimit *resource.Quantity `json:"socketBufferLimit,omitempty"` } -// +kubebuilder:validation:XValidation:rule="(has(self.value))",message="value must be specified" type ConnectionLimit struct { // Value of the maximum concurrent connections limit. // When the limit is reached, incoming connections will be closed after the CloseDelay duration. diff --git a/charts/gateway-helm/crds/generated/gateway.envoyproxy.io_clienttrafficpolicies.yaml b/charts/gateway-helm/crds/generated/gateway.envoyproxy.io_clienttrafficpolicies.yaml index d4e77cc9ee5..3e626f3f88a 100644 --- a/charts/gateway-helm/crds/generated/gateway.envoyproxy.io_clienttrafficpolicies.yaml +++ b/charts/gateway-helm/crds/generated/gateway.envoyproxy.io_clienttrafficpolicies.yaml @@ -131,9 +131,6 @@ spec: required: - value type: object - x-kubernetes-validations: - - message: value must be specified - rule: (has(self.value)) socketBufferLimit: allOf: - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$