Repository: knative/client
Pull request #1719 (2022-08-12 01:46:36)

[main] Upgrade to latest dependencies
Cron -knative-prow-robot

/cc knative/client-wg-leads
/assign knative/client-wg-leads

Produced by: knative-sandbox/knobots/actions/update-deps

Details:
```
bumping knative.dev/eventing c884e27...ab981d6:
  > ab981d6 Upgrade deps (# 6484)
  > 7414f6b Update actions (# 6483)
  > df904f8 Update community files (# 6482)
  > 08ede0b Knative port sink binding v1 job test to rekt (# 6481)
  > 4e56370 Update community files (# 6480)
  > aceb557 Knative port sink binding v1 deployment test to rekt (# 6479)
  > 37cb0e9 Knative port source at event types test to rekt (# 6476)
bumping knative.dev/networking d2c739d...50ab590:
  > 50ab590 Update actions (# 701)
  > 69c47bd Update community files (# 700)
  > fd61ced Update community files (# 699)
bumping knative.dev/serving fd833bc...58148c5:
  > 58148c5 upgrade to latest dependencies (# 13215)
  > d4601f3 Update actions (# 13214)
  > dd2abc9 Refactor VolumeMountPath to Directory (# 13202)
  > 468bb83 Update community files (# 13213)
  > fb89ff1 Update net-gateway-api nightly (# 13212)
  > 86a3daf Update net-istio nightly (# 13207)
  > 7cfc194 Update net-kourier nightly (# 13206)
  > 8acf355 Update net-contour nightly (# 13205)
  > b9ca11e Update community files (# 13203)
  > 2e77abf Fix timeout handlers to max duration instead of time to first byte (# 12970)
  > 5bba016 A refactor of the queue volume constants (# 13146)
  > 24e1ec2 Update net-gateway-api nightly (# 13198)
bumping knative.dev/pkg 7b8b060...d02dcd0:
  > d02dcd0 allow drainer to be reset (# 2572)
  > 894c2f2 SetupStaticPublishing and SetupDynamicPublishing returns Tracer with Shutdown function (# 2566)
  > 4f6a775 Remove pkg/pool (# 2568)
  > 9a1245b Update actions (# 2571)
  > 0049fdd Update community files (# 2570)
  > 52261a1 Update community files (# 2569)
bumping knative.dev/hack 9dabf7c...e9a8475:
  > e9a8475 Update community files (# 208)
  > 4621ee6 Update community files (# 207)
```

knative-prow[bot]: [APPROVALNOTIFIER] This PR is **NOT APPROVED**

This pull-request has been approved by: *<a href="https://github.com/knative/client/pull/1719#" title="Author self-approved">knative-automation</a>*
**Once this PR has been reviewed and has the lgtm label**, please assign rhuss for approval by writing `/assign @rhuss` in a comment. For more information see:[The Kubernetes Code Review Process](https://git.k8s.io/community/contributors/guide/owners.md#the-code-review-process).

The full list of commands accepted by this bot can be found [here](https://go.k8s.io/bot-commands?repo=knative%2Fclient).

<details open>
Needs approval from an approver in each of these files:

- **[OWNERS](https://github.com/knative/client/blob/main/OWNERS)**

Approvers can indicate their approval by writing `/approve` in a comment
Approvers can cancel approval by writing `/approve cancel` in a comment
</details>
<!-- META={"approvers":["rhuss"]} -->
codecov[bot]: # [Codecov](https://codecov.io/gh/knative/client/pull/1719?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=knative) Report
> Merging [#1719](https://codecov.io/gh/knative/client/pull/1719?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=knative) (ce26a69) into [main](https://codecov.io/gh/knative/client/commit/bf20fe2185ec75c7f115cc6d33a5cbab4d768785?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=knative) (bf20fe2) will **not change** coverage.
> The diff coverage is `n/a`.

```diff
@@           Coverage Diff           @@
##             main    #1719   +/-   ##
=======================================
  Coverage   79.90%   79.90%           
=======================================
  Files         174      174           
  Lines       13529    13529           
=======================================
  Hits        10811    10811           
  Misses       1979     1979           
  Partials      739      739           
```



Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=knative). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=knative)

rhuss: /approve
/lgtm
knative-prow[bot]: [APPROVALNOTIFIER] This PR is **APPROVED**

This pull-request has been approved by: *<a href="https://github.com/knative/client/pull/1719#" title="Author self-approved">knative-automation</a>*, *<a href="https://github.com/knative/client/pull/1719#issuecomment-1216237991" title="LGTM">rhuss</a>*

The full list of commands accepted by this bot can be found [here](https://go.k8s.io/bot-commands?repo=knative%2Fclient).

The pull request process is described [here](https://git.k8s.io/community/contributors/guide/owners.md#the-code-review-process)

<details >
Needs approval from an approver in each of these files:

- ~~[OWNERS](https://github.com/knative/client/blob/main/OWNERS)~~ [rhuss]

Approvers can indicate their approval by writing `/approve` in a comment
Approvers can cancel approval by writing `/approve cancel` in a comment
</details>
<!-- META={"approvers":[]} -->

Patch:
diff --git a/go.mod b/go.mod
index 457b08cd..6c1e78f7 100644
--- a/go.mod
+++ b/go.mod
@@ -21,11 +21,11 @@ require (
 	k8s.io/cli-runtime v0.23.4
 	k8s.io/client-go v0.23.9
 	k8s.io/code-generator v0.23.9
-	knative.dev/eventing v0.33.1-0.20220809080920-c884e27795f7
-	knative.dev/hack v0.0.0-20220728013938-9dabf7cf62e3
-	knative.dev/networking v0.0.0-20220803115018-d2c739da1c1b
-	knative.dev/pkg v0.0.0-20220805012121-7b8b06028e4f
-	knative.dev/serving v0.33.1-0.20220808151524-fd833bc9c9f6
+	knative.dev/eventing v0.33.1-0.20220815185049-ab981d6bba92
+	knative.dev/hack v0.0.0-20220815132133-e9a8475f4329
+	knative.dev/networking v0.0.0-20220815134434-50ab5901247f
+	knative.dev/pkg v0.0.0-20220815215248-d02dcd0b0391
+	knative.dev/serving v0.33.1-0.20220816005948-58148c586ee2
 	sigs.k8s.io/yaml v1.3.0
 )
 
diff --git a/go.sum b/go.sum
index 3983dec5..bd96c01a 100644
--- a/go.sum
+++ b/go.sum
@@ -1318,16 +1318,16 @@ k8s.io/utils v0.0.0-20210802155522-efc7438f0176/go.mod h1:jPW/WVKK9YHAvNhRxK0md/
 k8s.io/utils v0.0.0-20211116205334-6203023598ed/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA=
 k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9 h1:HNSDgDCrr/6Ly3WEGKZftiE7IY19Vz2GdbOCyI4qqhc=
 k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA=
-knative.dev/eventing v0.33.1-0.20220809080920-c884e27795f7 h1:jg9UrgsupzJnIFZOjgAS9FMD09ej213zcznYUH6s/IQ=
-knative.dev/eventing v0.33.1-0.20220809080920-c884e27795f7/go.mod h1:Un3zodfDFZVyXc64I4IVQtcpW7AIBvEspf9LixGqO3E=
-knative.dev/hack v0.0.0-20220728013938-9dabf7cf62e3 h1:1JsQ8ylMK+9yQfuxXvGBux+NOzvNLQyoyTXlupBrfHE=
-knative.dev/hack v0.0.0-20220728013938-9dabf7cf62e3/go.mod h1:t/azP8I/Cygaw+87O7rkAPrNRjCelmtfSzWzu/9TM7I=
-knative.dev/networking v0.0.0-20220803115018-d2c739da1c1b h1:qxVG4TOwaPQi5ep5sWSK67xD0E85dGlLCOfrWtHINgs=
-knative.dev/networking v0.0.0-20220803115018-d2c739da1c1b/go.mod h1:wwhZW0N+qYb81ZsgDI/yxS1dwN+hoi++m01ft+HxG08=
-knative.dev/pkg v0.0.0-20220805012121-7b8b06028e4f h1:kW4K5SsjZ7qMzM8TCqHdDmpv0xKN4Jje4BXhDcByFUI=
-knative.dev/pkg v0.0.0-20220805012121-7b8b06028e4f/go.mod h1:nBMKMJvyoaJdkpUrjwLVs/DwaP6d73R3UkXK6lblJyE=
-knative.dev/serving v0.33.1-0.20220808151524-fd833bc9c9f6 h1:sly8jvp+SKeIuDDhipfRJ+7bKTiFcI2c0e7Q/YnoBHQ=
-knative.dev/serving v0.33.1-0.20220808151524-fd833bc9c9f6/go.mod h1:iA1F+M0tcAkwrPSgF5CSXs6L6VY5MAPDT/sKdmDGVQ4=
+knative.dev/eventing v0.33.1-0.20220815185049-ab981d6bba92 h1:AYvqSqSuoZXirP89uJgyejMdae7m0k9ONSB/wYB5jaE=
+knative.dev/eventing v0.33.1-0.20220815185049-ab981d6bba92/go.mod h1:5Ip0LF/FmqQtOvSv8ycQxhOJhjxnowtMOuCv0ri8xWk=
+knative.dev/hack v0.0.0-20220815132133-e9a8475f4329 h1:/X969GuiLDMgb+tyx5qZDLxGhENkS3OLPj/VCSW+Ul0=
+knative.dev/hack v0.0.0-20220815132133-e9a8475f4329/go.mod h1:t/azP8I/Cygaw+87O7rkAPrNRjCelmtfSzWzu/9TM7I=
+knative.dev/networking v0.0.0-20220815134434-50ab5901247f h1:7Huzbeu2IV06ne1MJsRx1OSU6qFQXRgFsPbxoPaKfOA=
+knative.dev/networking v0.0.0-20220815134434-50ab5901247f/go.mod h1:wwhZW0N+qYb81ZsgDI/yxS1dwN+hoi++m01ft+HxG08=
+knative.dev/pkg v0.0.0-20220815215248-d02dcd0b0391 h1:ym5kE6447gIqw3yp1CIGc94IRN8w/K+EVJcUZCgyIv0=
+knative.dev/pkg v0.0.0-20220815215248-d02dcd0b0391/go.mod h1:nBMKMJvyoaJdkpUrjwLVs/DwaP6d73R3UkXK6lblJyE=
+knative.dev/serving v0.33.1-0.20220816005948-58148c586ee2 h1:w6gOKQ9bm1GU6eT0yr8HQa7Tv42Q8vJBDsPuZQxOchs=
+knative.dev/serving v0.33.1-0.20220816005948-58148c586ee2/go.mod h1:f41oVTPm+sKyDmZSuJlDhvMbIG/B/ds0aun4yXSmOE4=
 rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
 rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
 rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=
diff --git a/vendor/knative.dev/serving/pkg/apis/config/defaults.go b/vendor/knative.dev/serving/pkg/apis/config/defaults.go
index 9a33641b..3168d210 100644
--- a/vendor/knative.dev/serving/pkg/apis/config/defaults.go
+++ b/vendor/knative.dev/serving/pkg/apis/config/defaults.go
@@ -44,6 +44,14 @@ const (
 	// DefaultMaxRevisionTimeoutSeconds will be set if MaxRevisionTimeoutSeconds is not specified.
 	DefaultMaxRevisionTimeoutSeconds = 10 * 60
 
+	// DefaultRevisionResponseStartTimeoutSeconds will be set if ResponseStartTimeoutSeconds is not specified.
+	// for backward compatibility will keep default similar to DefaultRevisionTimeoutSeconds,
+	// should be revised in future releases.
+	DefaultRevisionResponseStartTimeoutSeconds = 5 * 60
+
+	// DefaultRevisionIdleTimeoutSeconds will be set if idleTimeoutSeconds not specified.
+	DefaultRevisionIdleTimeoutSeconds = 0
+
 	// DefaultInitContainerName is the default name we give to the init containers
 	// specified by the user, if `name:` is omitted.
 	DefaultInitContainerName = "init-container"
@@ -71,14 +79,16 @@ var (
 
 func defaultDefaultsConfig() *Defaults {
 	return &Defaults{
-		RevisionTimeoutSeconds:        DefaultRevisionTimeoutSeconds,
-		MaxRevisionTimeoutSeconds:     DefaultMaxRevisionTimeoutSeconds,
-		InitContainerNameTemplate:     DefaultInitContainerNameTemplate,
-		UserContainerNameTemplate:     DefaultUserContainerNameTemplate,
-		ContainerConcurrency:          DefaultContainerConcurrency,
-		ContainerConcurrencyMaxLimit:  DefaultMaxRevisionContainerConcurrency,
-		AllowContainerConcurrencyZero: DefaultAllowContainerConcurrencyZero,
-		EnableServiceLinks:            ptr.Bool(false),
+		RevisionTimeoutSeconds:             DefaultRevisionTimeoutSeconds,
+		MaxRevisionTimeoutSeconds:          DefaultMaxRevisionTimeoutSeconds,
+		RevisionRequestStartTimeoutSeconds: DefaultRevisionResponseStartTimeoutSeconds,
+		RevisionIdleTimeoutSeconds:         DefaultRevisionIdleTimeoutSeconds,
+		InitContainerNameTemplate:          DefaultInitContainerNameTemplate,
+		UserContainerNameTemplate:          DefaultUserContainerNameTemplate,
+		ContainerConcurrency:               DefaultContainerConcurrency,
+		ContainerConcurrencyMaxLimit:       DefaultMaxRevisionContainerConcurrency,
+		AllowContainerConcurrencyZero:      DefaultAllowContainerConcurrencyZero,
+		EnableServiceLinks:                 ptr.Bool(false),
 	}
 }
 
@@ -111,6 +121,9 @@ func NewDefaultsConfigFromMap(data map[string]string) (*Defaults, error) {
 
 		cm.AsInt64("revision-timeout-seconds", &nc.RevisionTimeoutSeconds),
 		cm.AsInt64("max-revision-timeout-seconds", &nc.MaxRevisionTimeoutSeconds),
+		cm.AsInt64("revision-response-start-timeout-seconds", &nc.RevisionRequestStartTimeoutSeconds),
+		cm.AsInt64("revision-idle-timeout-seconds", &nc.RevisionIdleTimeoutSeconds),
+
 		cm.AsInt64("container-concurrency", &nc.ContainerConcurrency),
 		cm.AsInt64("container-concurrency-max-limit", &nc.ContainerConcurrencyMaxLimit),
 
@@ -127,6 +140,12 @@ func NewDefaultsConfigFromMap(data map[string]string) (*Defaults, error) {
 	if nc.RevisionTimeoutSeconds > nc.MaxRevisionTimeoutSeconds {
 		return nil, fmt.Errorf("revision-timeout-seconds (%d) cannot be greater than max-revision-timeout-seconds (%d)", nc.RevisionTimeoutSeconds, nc.MaxRevisionTimeoutSeconds)
 	}
+	if nc.RevisionRequestStartTimeoutSeconds > 0 && nc.RevisionRequestStartTimeoutSeconds > nc.RevisionTimeoutSeconds {
+		return nil, fmt.Errorf("revision-response-start-timeout-seconds (%d) cannot be greater than revision-timeout-seconds (%d)", nc.RevisionRequestStartTimeoutSeconds, nc.RevisionTimeoutSeconds)
+	}
+	if nc.RevisionIdleTimeoutSeconds > 0 && nc.RevisionIdleTimeoutSeconds > nc.RevisionTimeoutSeconds {
+		return nil, fmt.Errorf("revision-idle-timeout-seconds (%d) cannot be greater than revision-timeout-seconds (%d)", nc.RevisionIdleTimeoutSeconds, nc.RevisionTimeoutSeconds)
+	}
 	if nc.ContainerConcurrencyMaxLimit < 1 {
 		return nil, apis.ErrOutOfBoundsValue(
 			nc.ContainerConcurrencyMaxLimit, 1, math.MaxInt32, "container-concurrency-max-limit")
@@ -157,6 +176,14 @@ type Defaults struct {
 	// RevisionTimeoutSeconds must be less than this value.
 	MaxRevisionTimeoutSeconds int64
 
+	// This is  the default number of seconds a request will be allowed to
+	// stay open while waiting to receive any bytes from the user's application
+	RevisionRequestStartTimeoutSeconds int64
+
+	// RevisionIdleTimeoutSeconds is the maximum duration in seconds a request
+	// will be allowed to stay open while not receiving any bytes from the user's application.
+	RevisionIdleTimeoutSeconds int64
+
 	InitContainerNameTemplate *ObjectMetaTemplate
 
 	UserContainerNameTemplate *ObjectMetaTemplate
diff --git a/vendor/knative.dev/serving/pkg/apis/serving/v1/revision_types.go b/vendor/knative.dev/serving/pkg/apis/serving/v1/revision_types.go
index 959d5e97..a2a23c9e 100644
--- a/vendor/knative.dev/serving/pkg/apis/serving/v1/revision_types.go
+++ b/vendor/knative.dev/serving/pkg/apis/serving/v1/revision_types.go
@@ -83,11 +83,23 @@ type RevisionSpec struct {
 	// +optional
 	ContainerConcurrency *int64 `json:"containerConcurrency,omitempty"`
 
-	// TimeoutSeconds is the maximum duration in seconds that the request routing
-	// layer will wait for a request delivered to a container to begin replying
-	// (send network traffic). If unspecified, a system default will be provided.
+	// TimeoutSeconds is the maximum duration in seconds that the request instance
+	// is allowed to respond to a request. If unspecified, a system default will
+	// be provided.
 	// +optional
 	TimeoutSeconds *int64 `json:"timeoutSeconds,omitempty"`
+
+	// ResponseStartTimeoutSeconds is the maximum duration in seconds that the request
+	// routing layer will wait for a request delivered to a container to begin
+	// sending any network traffic.
+	// +optional
+	ResponseStartTimeoutSeconds *int64 `json:"responseStartTimeoutSeconds,omitempty"`
+
+	// IdleTimeoutSeconds is the maximum duration in seconds a request will be allowed
+	// to stay open while not receiving any bytes from the user's application. If
+	// unspecified, a system default will be provided.
+	// +optional
+	IdleTimeoutSeconds *int64 `json:"idleTimeoutSeconds,omitempty"`
 }
 
 const (
diff --git a/vendor/knative.dev/serving/pkg/apis/serving/v1/zz_generated.deepcopy.go b/vendor/knative.dev/serving/pkg/apis/serving/v1/zz_generated.deepcopy.go
index 99ae1ca1..c42bb4b9 100644
--- a/vendor/knative.dev/serving/pkg/apis/serving/v1/zz_generated.deepcopy.go
+++ b/vendor/knative.dev/serving/pkg/apis/serving/v1/zz_generated.deepcopy.go
@@ -230,6 +230,16 @@ func (in *RevisionSpec) DeepCopyInto(out *RevisionSpec) {
 		*out = new(int64)
 		**out = **in
 	}
+	if in.ResponseStartTimeoutSeconds != nil {
+		in, out := &in.ResponseStartTimeoutSeconds, &out.ResponseStartTimeoutSeconds
+		*out = new(int64)
+		**out = **in
+	}
+	if in.IdleTimeoutSeconds != nil {
+		in, out := &in.IdleTimeoutSeconds, &out.IdleTimeoutSeconds
+		*out = new(int64)
+		**out = **in
+	}
 	return
 }
 
diff --git a/vendor/modules.txt b/vendor/modules.txt
index 86a06f81..3ab482d5 100644
--- a/vendor/modules.txt
+++ b/vendor/modules.txt
@@ -902,7 +902,7 @@ k8s.io/utils/lru
 k8s.io/utils/net
 k8s.io/utils/pointer
 k8s.io/utils/trace
-# knative.dev/eventing v0.33.1-0.20220809080920-c884e27795f7
+# knative.dev/eventing v0.33.1-0.20220815185049-ab981d6bba92
 ## explicit; go 1.18
 knative.dev/eventing/pkg/apis/config
 knative.dev/eventing/pkg/apis/duck
@@ -930,10 +930,10 @@ knative.dev/eventing/pkg/client/clientset/versioned/typed/sources/v1
 knative.dev/eventing/pkg/client/clientset/versioned/typed/sources/v1/fake
 knative.dev/eventing/pkg/client/clientset/versioned/typed/sources/v1beta2
 knative.dev/eventing/pkg/client/clientset/versioned/typed/sources/v1beta2/fake
-# knative.dev/hack v0.0.0-20220728013938-9dabf7cf62e3
+# knative.dev/hack v0.0.0-20220815132133-e9a8475f4329
 ## explicit; go 1.17
 knative.dev/hack
-# knative.dev/networking v0.0.0-20220803115018-d2c739da1c1b
+# knative.dev/networking v0.0.0-20220815134434-50ab5901247f
 ## explicit; go 1.18
 knative.dev/networking/pkg
 knative.dev/networking/pkg/apis/networking
@@ -948,7 +948,7 @@ knative.dev/networking/pkg/http/probe
 knative.dev/networking/pkg/http/proxy
 knative.dev/networking/pkg/http/stats
 knative.dev/networking/pkg/k8s
-# knative.dev/pkg v0.0.0-20220805012121-7b8b06028e4f
+# knative.dev/pkg v0.0.0-20220815215248-d02dcd0b0391
 ## explicit; go 1.18
 knative.dev/pkg/apis
 knative.dev/pkg/apis/duck
@@ -998,7 +998,7 @@ knative.dev/pkg/tracing/config
 knative.dev/pkg/tracing/propagation
 knative.dev/pkg/tracing/propagation/tracecontextb3
 knative.dev/pkg/tracker
-# knative.dev/serving v0.33.1-0.20220808151524-fd833bc9c9f6
+# knative.dev/serving v0.33.1-0.20220816005948-58148c586ee2
 ## explicit; go 1.18
 knative.dev/serving/pkg/apis/autoscaling
 knative.dev/serving/pkg/apis/autoscaling/v1alpha1


Test patch:
diff --git a/vendor/knative.dev/serving/pkg/testing/v1/configuration.go b/vendor/knative.dev/serving/pkg/testing/v1/configuration.go
index c1e35589..e84e532d 100644
--- a/vendor/knative.dev/serving/pkg/testing/v1/configuration.go
+++ b/vendor/knative.dev/serving/pkg/testing/v1/configuration.go
@@ -124,3 +124,17 @@ func WithConfigRevisionTimeoutSeconds(revisionTimeoutSeconds int64) ConfigOption
 		cfg.Spec.Template.Spec.TimeoutSeconds = ptr.Int64(revisionTimeoutSeconds)
 	}
 }
+
+// WithConfigRevisionResponseStartTimeoutSeconds sets revision first byte timeout
+func WithConfigRevisionResponseStartTimeoutSeconds(revisionResponseStartTimeoutSeconds int64) ConfigOption {
+	return func(cfg *v1.Configuration) {
+		cfg.Spec.Template.Spec.ResponseStartTimeoutSeconds = ptr.Int64(revisionResponseStartTimeoutSeconds)
+	}
+}
+
+// WithConfigRevisionIdleTimeoutSeconds sets revision idle timeout
+func WithConfigRevisionIdleTimeoutSeconds(revisionIdleTimeoutSeconds int64) ConfigOption {
+	return func(cfg *v1.Configuration) {
+		cfg.Spec.Template.Spec.IdleTimeoutSeconds = ptr.Int64(revisionIdleTimeoutSeconds)
+	}
+}
diff --git a/vendor/knative.dev/serving/pkg/testing/v1/service.go b/vendor/knative.dev/serving/pkg/testing/v1/service.go
index 26e86e90..8dbec1a4 100644
--- a/vendor/knative.dev/serving/pkg/testing/v1/service.go
+++ b/vendor/knative.dev/serving/pkg/testing/v1/service.go
@@ -182,6 +182,20 @@ func WithRevisionTimeoutSeconds(revisionTimeoutSeconds int64) ServiceOption {
 	}
 }
 
+// WithRevisionResponseStartTimeoutSeconds sets revision first byte timeout
+func WithRevisionResponseStartTimeoutSeconds(revisionResponseStartTimeoutSeconds int64) ServiceOption {
+	return func(service *v1.Service) {
+		service.Spec.Template.Spec.ResponseStartTimeoutSeconds = ptr.Int64(revisionResponseStartTimeoutSeconds)
+	}
+}
+
+// WithRevisionIdleTimeoutSeconds sets revision idle timeout
+func WithRevisionIdleTimeoutSeconds(revisionIdleTimeoutSeconds int64) ServiceOption {
+	return func(service *v1.Service) {
+		service.Spec.Template.Spec.IdleTimeoutSeconds = ptr.Int64(revisionIdleTimeoutSeconds)
+	}
+}
+
 // WithServiceAccountName sets revision service account name
 func WithServiceAccountName(serviceAccountName string) ServiceOption {
 	return func(service *v1.Service) {