Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ require (
k8s.io/api v0.33.4
k8s.io/apimachinery v0.33.4
k8s.io/client-go v0.33.4
knative.dev/client/pkg v0.0.0-20250912140321-80160fcc0d3d
knative.dev/eventing-kafka-broker v0.46.1-0.20250915143527-81377dd455b9
knative.dev/client/pkg v0.0.0-20250930022203-bfbc5d2c99f2
knative.dev/eventing-kafka-broker v0.46.1-0.20250930122203-de6a2fa1a297
knative.dev/hack v0.0.0-20250902153942-1499de21e119
knative.dev/pkg v0.0.0-20250915135827-db4c336acdbe
)
Expand Down Expand Up @@ -106,9 +106,9 @@ require (
k8s.io/klog/v2 v2.130.1 // indirect
k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff // indirect
k8s.io/utils v0.0.0-20241210054802-24370beab758 // indirect
knative.dev/eventing v0.46.1-0.20250911120720-1c920ca1452d // indirect
knative.dev/networking v0.0.0-20250909015233-e3b68fc57bea // indirect
knative.dev/serving v0.46.1-0.20250912121022-973fcba826c5 // indirect
knative.dev/eventing v0.46.1-0.20250926075628-bfd6957835e4 // indirect
knative.dev/networking v0.0.0-20250916015400-8cc248b445a0 // indirect
knative.dev/serving v0.46.1-0.20250929181602-a026eae5e127 // indirect
sigs.k8s.io/gateway-api v1.1.0 // indirect
sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 // indirect
sigs.k8s.io/kustomize/api v0.13.5-0.20230601165947-6ce0bf390ce3 // indirect
Expand Down
20 changes: 10 additions & 10 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -747,20 +747,20 @@ k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff h1:/usPimJzUKKu+m+TE36gUy
k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff/go.mod h1:5jIi+8yX4RIb8wk3XwBo5Pq2ccx4FP10ohkbSKCZoK8=
k8s.io/utils v0.0.0-20241210054802-24370beab758 h1:sdbE21q2nlQtFh65saZY+rRM6x6aJJI8IUa1AmH/qa0=
k8s.io/utils v0.0.0-20241210054802-24370beab758/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
knative.dev/client/pkg v0.0.0-20250912140321-80160fcc0d3d h1:P4wWA64hYBe7qli8lmbGyrWlebAfAlSSN/fIvu+9BFE=
knative.dev/client/pkg v0.0.0-20250912140321-80160fcc0d3d/go.mod h1:YIaO3bbEimSjqCr2anMD1MmhiLLiwvAE9k24RaHspsk=
knative.dev/eventing v0.46.1-0.20250911120720-1c920ca1452d h1:h36oypKEueHGlQVvRDUKQZ+ZjmvVwP4eQ79I8rBNqa4=
knative.dev/eventing v0.46.1-0.20250911120720-1c920ca1452d/go.mod h1:NP1ypjTAP+eZTT1P/Xk8DAI+dkqkWatFP73IikS4BIo=
knative.dev/eventing-kafka-broker v0.46.1-0.20250915143527-81377dd455b9 h1:seO0cft73GqkOX9GQaQIK7sr3/A7GsH5BRlRB/+3rWA=
knative.dev/eventing-kafka-broker v0.46.1-0.20250915143527-81377dd455b9/go.mod h1:f70hx8aGMj4BfHq6Q7m6ekti1BRGw4nGn/OHIlVA2n8=
knative.dev/client/pkg v0.0.0-20250930022203-bfbc5d2c99f2 h1:Ik+csI2+K6j206mokBNnS10JzbAQawq0VyYLOyxymB8=
knative.dev/client/pkg v0.0.0-20250930022203-bfbc5d2c99f2/go.mod h1:+wNg6WTFQzHXx1brElwh0HQizTp8kg393Nw33DcvfuU=
knative.dev/eventing v0.46.1-0.20250926075628-bfd6957835e4 h1:JqNVkQyNB/eAYfrYXwFZCMc5lJscCDa4inqoLSJaR90=
knative.dev/eventing v0.46.1-0.20250926075628-bfd6957835e4/go.mod h1:HRusNPXiJsv2USQLE9i0gPm/cnUZo0jVTlkVdBTcfC8=
knative.dev/eventing-kafka-broker v0.46.1-0.20250930122203-de6a2fa1a297 h1:YvwD1rOh2t4U7ZJsvi85eYBn6ntIRVg0Kt3RdkWuKsY=
knative.dev/eventing-kafka-broker v0.46.1-0.20250930122203-de6a2fa1a297/go.mod h1:B/JHSrzVgnZ2wAmY+YXJXepUXC7KwHL2wfS++GLrWbw=
knative.dev/hack v0.0.0-20250902153942-1499de21e119 h1:NbQvjnFK1tL489LN0qAybWy0E17Jpziwcv/XIHwfp6M=
knative.dev/hack v0.0.0-20250902153942-1499de21e119/go.mod h1:R0ritgYtjLDO9527h5vb5X6gfvt5LCrJ55BNbVDsWiY=
knative.dev/networking v0.0.0-20250909015233-e3b68fc57bea h1:712x0cJVdyKELYhO9Asie79wD4AvW/6bmdqGAAB6QYQ=
knative.dev/networking v0.0.0-20250909015233-e3b68fc57bea/go.mod h1:P8mxand4fkoIIucr7pVv4sVk3IpTGGCQpJbwKu8fhy4=
knative.dev/networking v0.0.0-20250916015400-8cc248b445a0 h1:OG6rRbmXMDh369o/puixTc8dv9YihZr964S9rt6EURo=
knative.dev/networking v0.0.0-20250916015400-8cc248b445a0/go.mod h1:+8oRX8GjCm7AQLycKScw9dwxy/kKnG7ESQPAqRirGeI=
knative.dev/pkg v0.0.0-20250915135827-db4c336acdbe h1:VCVC/izQ5iIRWti36s1zTuRJPcnK3fSVpnB3Li4b24Y=
knative.dev/pkg v0.0.0-20250915135827-db4c336acdbe/go.mod h1:MWTdkANYm1VBSd7O33Q8Uwr9nDsrBehnVNDVPbshy7s=
knative.dev/serving v0.46.1-0.20250912121022-973fcba826c5 h1:Tb+faII8ii2Tix1tRNVYAcQyNHcQDIMV5qA72uIXxYM=
knative.dev/serving v0.46.1-0.20250912121022-973fcba826c5/go.mod h1:pERRORu4itdaYfKSoNx5mhP2IduUkEQIClBQ5eXWBig=
knative.dev/serving v0.46.1-0.20250929181602-a026eae5e127 h1:2uGHLunmpxOSVZGFSSTDIVB9PI+dGn5pHY/RP712V00=
knative.dev/serving v0.46.1-0.20250929181602-a026eae5e127/go.mod h1:lQk+jslR4hAA6dtUBQpRWrOX0EfkdUduR3/hZmMWNdA=
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=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,10 @@ func (rs *RevisionStatus) PropagateAutoscalerStatus(ps *autoscalingv1alpha1.PodA

// Mark resource unavailable if we don't have a Service Name and the deployment is ready
// This can happen when we have initial scale set to 0
if rs.GetCondition(RevisionConditionResourcesAvailable).IsTrue() && ps.ServiceName == "" {
rs.MarkResourcesAvailableUnknown(ReasonDeploying, "")
if rs.GetCondition(RevisionConditionResourcesAvailable).IsTrue() {
if ps.ServiceName == "" || !ps.IsScaleTargetInitialized() {
rs.MarkResourcesAvailableUnknown(ReasonDeploying, "")
}
}

switch cond.Status {
Expand Down
18 changes: 18 additions & 0 deletions vendor/knative.dev/serving/pkg/testing/v1/configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,3 +138,21 @@ func WithConfigRevisionIdleTimeoutSeconds(revisionIdleTimeoutSeconds int64) Conf
cfg.Spec.Template.Spec.IdleTimeoutSeconds = ptr.Int64(revisionIdleTimeoutSeconds)
}
}

// WithVolume adds a volume to the service
func WithConfigVolume(name, mountPath string, volumeSource corev1.VolumeSource) ConfigOption {
return func(c *v1.Configuration) {
rt := &c.Spec.Template.Spec

rt.Containers[0].VolumeMounts = append(rt.Containers[0].VolumeMounts,
corev1.VolumeMount{
Name: name,
MountPath: mountPath,
})

rt.Volumes = append(rt.Volumes, corev1.Volume{
Name: name,
VolumeSource: volumeSource,
})
}
}
10 changes: 5 additions & 5 deletions vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,7 @@ k8s.io/utils/net
k8s.io/utils/pointer
k8s.io/utils/ptr
k8s.io/utils/trace
# knative.dev/client/pkg v0.0.0-20250912140321-80160fcc0d3d
# knative.dev/client/pkg v0.0.0-20250930022203-bfbc5d2c99f2
## explicit; go 1.24.0
knative.dev/client/pkg/apis/client
knative.dev/client/pkg/apis/client/v1alpha1
Expand All @@ -884,7 +884,7 @@ knative.dev/client/pkg/util/errors
knative.dev/client/pkg/util/mock
knative.dev/client/pkg/util/test
knative.dev/client/pkg/wait
# knative.dev/eventing v0.46.1-0.20250911120720-1c920ca1452d
# knative.dev/eventing v0.46.1-0.20250926075628-bfd6957835e4
## explicit; go 1.24.0
knative.dev/eventing/pkg/apis/common/integration/v1alpha1
knative.dev/eventing/pkg/apis/config
Expand Down Expand Up @@ -918,7 +918,7 @@ 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/crossnamespace
knative.dev/eventing/pkg/eventingtls
# knative.dev/eventing-kafka-broker v0.46.1-0.20250915143527-81377dd455b9
# knative.dev/eventing-kafka-broker v0.46.1-0.20250930122203-de6a2fa1a297
## explicit; go 1.24.0
knative.dev/eventing-kafka-broker/control-plane/pkg/apis/bindings
knative.dev/eventing-kafka-broker/control-plane/pkg/apis/bindings/v1
Expand All @@ -939,7 +939,7 @@ knative.dev/eventing-kafka-broker/control-plane/pkg/client/clientset/versioned/t
# knative.dev/hack v0.0.0-20250902153942-1499de21e119
## explicit; go 1.21
knative.dev/hack
# knative.dev/networking v0.0.0-20250909015233-e3b68fc57bea
# knative.dev/networking v0.0.0-20250916015400-8cc248b445a0
## explicit; go 1.24.0
knative.dev/networking/pkg
knative.dev/networking/pkg/apis/networking
Expand Down Expand Up @@ -996,7 +996,7 @@ knative.dev/pkg/test/logging
knative.dev/pkg/test/spoof
knative.dev/pkg/tracker
knative.dev/pkg/webhook/resourcesemantics
# knative.dev/serving v0.46.1-0.20250912121022-973fcba826c5
# knative.dev/serving v0.46.1-0.20250929181602-a026eae5e127
## explicit; go 1.24.0
knative.dev/serving/pkg/apis/autoscaling
knative.dev/serving/pkg/apis/autoscaling/v1alpha1
Expand Down
Loading