Skip to content

Commit

Permalink
Increasing max length of ForwardTo from 4 to 16
Browse files Browse the repository at this point in the history
  • Loading branch information
robscott committed Dec 4, 2020
1 parent b724f51 commit e3ec608
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion apis/v1alpha1/httproute_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ type HTTPRouteRule struct {
// error code is returned.
//
// +optional
// +kubebuilder:validation:MaxItems=4
// +kubebuilder:validation:MaxItems=16
ForwardTo []HTTPRouteForwardTo `json:"forwardTo,omitempty"`
}

Expand Down
2 changes: 1 addition & 1 deletion apis/v1alpha1/tcproute_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ type TCPRouteRule struct {
// be sent.
//
// +kubebuilder:validation:MinItems=1
// +kubebuilder:validation:MaxItems=4
// +kubebuilder:validation:MaxItems=16
ForwardTo []RouteForwardTo `json:"forwardTo"`
}

Expand Down
2 changes: 1 addition & 1 deletion apis/v1alpha1/tlsroute_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ type TLSRouteRule struct {
// sent.
//
// +kubebuilder:validation:MinItems=1
// +kubebuilder:validation:MaxItems=4
// +kubebuilder:validation:MaxItems=16
ForwardTo []RouteForwardTo `json:"forwardTo"`
}

Expand Down
2 changes: 1 addition & 1 deletion apis/v1alpha1/udproute_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ type UDPRouteRule struct {
// be sent.
//
// +kubebuilder:validation:MinItems=1
// +kubebuilder:validation:MaxItems=4
// +kubebuilder:validation:MaxItems=16
ForwardTo []RouteForwardTo `json:"forwardTo"`
}

Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/networking.x-k8s.io_httproutes.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion config/crd/bases/networking.x-k8s.io_tcproutes.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion config/crd/bases/networking.x-k8s.io_tlsroutes.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion config/crd/bases/networking.x-k8s.io_udproutes.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e3ec608

Please sign in to comment.