diff --git a/kubernetes/customresourcedefinitions.gen.yaml b/kubernetes/customresourcedefinitions.gen.yaml index efbc0941eb..211532393c 100644 --- a/kubernetes/customresourcedefinitions.gen.yaml +++ b/kubernetes/customresourcedefinitions.gen.yaml @@ -500,10 +500,6 @@ spec: idleTimeout: description: The idle timeout for TCP connections. type: string - x-kubernetes-validations: - - message: must be a valid duration greater than - 1ms - rule: duration(self) >= duration('1ms') maxConnectionDuration: description: The maximum duration of a connection. type: string @@ -866,10 +862,6 @@ spec: idleTimeout: description: The idle timeout for TCP connections. type: string - x-kubernetes-validations: - - message: must be a valid duration greater - than 1ms - rule: duration(self) >= duration('1ms') maxConnectionDuration: description: The maximum duration of a connection. type: string @@ -1394,9 +1386,6 @@ spec: idleTimeout: description: The idle timeout for TCP connections. type: string - x-kubernetes-validations: - - message: must be a valid duration greater than 1ms - rule: duration(self) >= duration('1ms') maxConnectionDuration: description: The maximum duration of a connection. type: string @@ -1750,10 +1739,6 @@ spec: idleTimeout: description: The idle timeout for TCP connections. type: string - x-kubernetes-validations: - - message: must be a valid duration greater than - 1ms - rule: duration(self) >= duration('1ms') maxConnectionDuration: description: The maximum duration of a connection. type: string @@ -2414,10 +2399,6 @@ spec: idleTimeout: description: The idle timeout for TCP connections. type: string - x-kubernetes-validations: - - message: must be a valid duration greater than - 1ms - rule: duration(self) >= duration('1ms') maxConnectionDuration: description: The maximum duration of a connection. type: string @@ -2780,10 +2761,6 @@ spec: idleTimeout: description: The idle timeout for TCP connections. type: string - x-kubernetes-validations: - - message: must be a valid duration greater - than 1ms - rule: duration(self) >= duration('1ms') maxConnectionDuration: description: The maximum duration of a connection. type: string @@ -3308,9 +3285,6 @@ spec: idleTimeout: description: The idle timeout for TCP connections. type: string - x-kubernetes-validations: - - message: must be a valid duration greater than 1ms - rule: duration(self) >= duration('1ms') maxConnectionDuration: description: The maximum duration of a connection. type: string @@ -3664,10 +3638,6 @@ spec: idleTimeout: description: The idle timeout for TCP connections. type: string - x-kubernetes-validations: - - message: must be a valid duration greater than - 1ms - rule: duration(self) >= duration('1ms') maxConnectionDuration: description: The maximum duration of a connection. type: string @@ -4328,10 +4298,6 @@ spec: idleTimeout: description: The idle timeout for TCP connections. type: string - x-kubernetes-validations: - - message: must be a valid duration greater than - 1ms - rule: duration(self) >= duration('1ms') maxConnectionDuration: description: The maximum duration of a connection. type: string @@ -4694,10 +4660,6 @@ spec: idleTimeout: description: The idle timeout for TCP connections. type: string - x-kubernetes-validations: - - message: must be a valid duration greater - than 1ms - rule: duration(self) >= duration('1ms') maxConnectionDuration: description: The maximum duration of a connection. type: string @@ -5222,9 +5184,6 @@ spec: idleTimeout: description: The idle timeout for TCP connections. type: string - x-kubernetes-validations: - - message: must be a valid duration greater than 1ms - rule: duration(self) >= duration('1ms') maxConnectionDuration: description: The maximum duration of a connection. type: string @@ -5578,10 +5537,6 @@ spec: idleTimeout: description: The idle timeout for TCP connections. type: string - x-kubernetes-validations: - - message: must be a valid duration greater than - 1ms - rule: duration(self) >= duration('1ms') maxConnectionDuration: description: The maximum duration of a connection. type: string @@ -8476,9 +8431,6 @@ spec: idleTimeout: description: The idle timeout for TCP connections. type: string - x-kubernetes-validations: - - message: must be a valid duration greater than 1ms - rule: duration(self) >= duration('1ms') maxConnectionDuration: description: The maximum duration of a connection. type: string @@ -8602,9 +8554,6 @@ spec: idleTimeout: description: The idle timeout for TCP connections. type: string - x-kubernetes-validations: - - message: must be a valid duration greater than 1ms - rule: duration(self) >= duration('1ms') maxConnectionDuration: description: The maximum duration of a connection. type: string @@ -9018,9 +8967,6 @@ spec: idleTimeout: description: The idle timeout for TCP connections. type: string - x-kubernetes-validations: - - message: must be a valid duration greater than 1ms - rule: duration(self) >= duration('1ms') maxConnectionDuration: description: The maximum duration of a connection. type: string @@ -9144,9 +9090,6 @@ spec: idleTimeout: description: The idle timeout for TCP connections. type: string - x-kubernetes-validations: - - message: must be a valid duration greater than 1ms - rule: duration(self) >= duration('1ms') maxConnectionDuration: description: The maximum duration of a connection. type: string @@ -9560,9 +9503,6 @@ spec: idleTimeout: description: The idle timeout for TCP connections. type: string - x-kubernetes-validations: - - message: must be a valid duration greater than 1ms - rule: duration(self) >= duration('1ms') maxConnectionDuration: description: The maximum duration of a connection. type: string @@ -9686,9 +9626,6 @@ spec: idleTimeout: description: The idle timeout for TCP connections. type: string - x-kubernetes-validations: - - message: must be a valid duration greater than 1ms - rule: duration(self) >= duration('1ms') maxConnectionDuration: description: The maximum duration of a connection. type: string diff --git a/networking/v1alpha3/destination_rule.pb.go b/networking/v1alpha3/destination_rule.pb.go index 3171e0cfa1..2ed4f17c66 100644 --- a/networking/v1alpha3/destination_rule.pb.go +++ b/networking/v1alpha3/destination_rule.pb.go @@ -2279,6 +2279,7 @@ type ConnectionPoolSettings_TCPSettings struct { // because idleTimeout is a property of a listener, not a cluster. In that case, idleTimeout // specified in a destination rule for the first weighted route is configured in the listener, // which means also for all weighted routes. + // +protoc-gen-crd:duration-validation:none IdleTimeout *duration.Duration `protobuf:"bytes,5,opt,name=idle_timeout,json=idleTimeout,proto3" json:"idle_timeout,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache diff --git a/networking/v1alpha3/destination_rule.proto b/networking/v1alpha3/destination_rule.proto index 3b86211105..57ceab0eb3 100644 --- a/networking/v1alpha3/destination_rule.proto +++ b/networking/v1alpha3/destination_rule.proto @@ -609,6 +609,7 @@ message ConnectionPoolSettings { // because idleTimeout is a property of a listener, not a cluster. In that case, idleTimeout // specified in a destination rule for the first weighted route is configured in the listener, // which means also for all weighted routes. + // +protoc-gen-crd:duration-validation:none google.protobuf.Duration idle_timeout = 5; };