Skip to content

Commit 7c195b5

Browse files
committed
Fix for review comment
1 parent 12bff48 commit 7c195b5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

api/v2/apisixupstream_types.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,8 @@ type ApisixUpstreamExternalNode struct {
9696

9797
// ApisixUpstreamConfig defines configuration for upstream services.
9898
type ApisixUpstreamConfig struct {
99-
// LoadBalancer specifies the load balancing algorithms to route traffic to the backend.
100-
// Default is `roundrobin`.
101-
// Can be `roundrobin`, `chash`, `ewma`, or `least_conn`.
102-
// +kubebuilder:validation:Enum=roundrobin;chash;ewma;least_conn;
99+
// LoadBalancer specifies the load balancer configuration for Kubernetes Service.
100+
// +kubebuilder:validation:Optional
103101
LoadBalancer *LoadBalancer `json:"loadbalancer,omitempty" yaml:"loadbalancer,omitempty"`
104102

105103
// Scheme is the protocol used to communicate with the upstream.

0 commit comments

Comments
 (0)