From f26c30095c6428d2277a8a7cb32b8560e97ec439 Mon Sep 17 00:00:00 2001 From: jaynis Date: Wed, 17 Apr 2024 11:38:35 +0200 Subject: [PATCH] removed CEL validation rule again due to cost budget violation Signed-off-by: jaynis --- api/v1alpha1/shared_types.go | 1 - .../crds/generated/gateway.envoyproxy.io_envoyproxies.yaml | 4 ---- 2 files changed, 5 deletions(-) diff --git a/api/v1alpha1/shared_types.go b/api/v1alpha1/shared_types.go index bdc4efc8590..cce1eaccd79 100644 --- a/api/v1alpha1/shared_types.go +++ b/api/v1alpha1/shared_types.go @@ -256,7 +256,6 @@ type KubernetesServiceSpec struct { // it happens outside of kubernetes and has to be supported and handled by the platform provider. // This field may only be set for services with type LoadBalancer and will be cleared if the type // is changed to any other type. - // +kubebuilder:validation:XValidation:message="loadBalancerSourceRange must be a valid IPv4 subnet",rule="self.all(lbsr, lbsr.matches(r\"^(((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(\\.|\\/\\d{1,2}$)){4})\"))" // +optional LoadBalancerSourceRanges []string `json:"loadBalancerSourceRanges,omitempty"` diff --git a/charts/gateway-helm/crds/generated/gateway.envoyproxy.io_envoyproxies.yaml b/charts/gateway-helm/crds/generated/gateway.envoyproxy.io_envoyproxies.yaml index 6414d9d96ad..a41ad5c713d 100644 --- a/charts/gateway-helm/crds/generated/gateway.envoyproxy.io_envoyproxies.yaml +++ b/charts/gateway-helm/crds/generated/gateway.envoyproxy.io_envoyproxies.yaml @@ -5771,10 +5771,6 @@ spec: items: type: string type: array - x-kubernetes-validations: - - message: loadBalancerSourceRange must be a valid IPv4 - subnet - rule: self.all(lbsr, lbsr.matches(r"^(((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(\.|\/\d{1,2}$)){4})")) patch: description: Patch defines how to perform the patch operation to the service