Skip to content

Commit 985d2ff

Browse files
committed
remove default value for loadbalancing method field
1 parent a03330c commit 985d2ff

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

apis/v1alpha1/upstreamsettingspolicy_types.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ type UpstreamSettingsPolicySpec struct {
5454
// LoadBalancingMethod specifies the load balancing algorithm to be used for the upstream.
5555
//
5656
// +optional
57-
// +kubebuilder:default:=random two least_conn
5857
LoadBalancingMethod *LoadBalancingType `json:"loadBalancingMethod,omitempty"`
5958

6059
// TargetRefs identifies API object(s) to apply the policy to.

config/crd/bases/gateway.nginx.org_upstreamsettingspolicies.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ spec:
8686
type: string
8787
type: object
8888
loadBalancingMethod:
89-
default: random two least_conn
9089
description: LoadBalancingMethod specifies the load balancing algorithm
9190
to be used for the upstream.
9291
enum:

deploy/crds.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9613,7 +9613,6 @@ spec:
96139613
type: string
96149614
type: object
96159615
loadBalancingMethod:
9616-
default: random two least_conn
96179616
description: LoadBalancingMethod specifies the load balancing algorithm
96189617
to be used for the upstream.
96199618
enum:

0 commit comments

Comments
 (0)