Skip to content

Commit

Permalink
remove validation
Browse files Browse the repository at this point in the history
Signed-off-by: Guy Daich <[email protected]>
  • Loading branch information
guydc committed Oct 21, 2024
1 parent b59a757 commit 96bc751
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion api/v1alpha1/connection_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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]+))))?$
Expand Down

0 comments on commit 96bc751

Please sign in to comment.