diff --git a/pkg/router/gateway_api.go b/pkg/router/gateway_api.go index bbcadc28..31b09b20 100644 --- a/pkg/router/gateway_api.go +++ b/pkg/router/gateway_api.go @@ -369,10 +369,6 @@ func (gwr *GatewayAPIRouter) SetRoutes( }, }) } - var timeout v1.Duration - if canary.Spec.Service.Timeout != "" { - timeout = v1.Duration(canary.Spec.Service.Timeout) - } weightedRouteRule := &v1.HTTPRouteRule{ Matches: matches, @@ -441,9 +437,6 @@ func (gwr *GatewayAPIRouter) SetRoutes( BackendRef: gwr.makeBackendRef(primarySvcName, initialPrimaryWeight, canary.Spec.Service.Port), }, }, - Timeouts: &v1.HTTPRouteTimeouts{ - Request: &timeout, - }, }) if canary.Spec.Service.Timeout != "" {