Skip to content

Commit 269346e

Browse files
knative-automationVincent Hou
authored andcommitted
upgrade to latest dependencies (knative#2006)
bumping knative.dev/networking 2cde432...863b7af: > 863b7af fix linter config (# 1049) > 1aaade7 upgrade to latest dependencies (# 1047) > d23278a Update community files (# 1048) bumping knative.dev/serving 87c07ee...0210658: > 0210658 upgrade to latest dependencies (# 15793) bumping knative.dev/eventing 3153b47...1e889be: > 1e889be SinkBinding: Set specific conditions for reconciler steps (# 8508) > 6073039 [main] Upgrade to latest dependencies (# 8512) Signed-off-by: Knative Automation <automation@knative.team>
1 parent 8a1e568 commit 269346e

File tree

5 files changed

+38
-16
lines changed

5 files changed

+38
-16
lines changed

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ require (
2121
k8s.io/client-go v0.32.2
2222
k8s.io/code-generator v0.32.2
2323
knative.dev/caching v0.0.0-20250226145629-ad23fbda1a2b
24-
knative.dev/eventing v0.44.1-0.20250226080629-3153b4735d1c
24+
knative.dev/eventing v0.44.1-0.20250227113130-1e889be219d8
2525
knative.dev/hack v0.0.0-20250219013704-306ce745e077
2626
knative.dev/pkg v0.0.0-20250226145529-0372c089c78f
2727
knative.dev/reconciler-test v0.0.0-20250219013557-5ca0bd4fcad5
28-
knative.dev/serving v0.44.1-0.20250220121848-87c07ee250da
28+
knative.dev/serving v0.44.1-0.20250227084930-02106588462d
2929
sigs.k8s.io/yaml v1.4.0
3030
)
3131

@@ -156,7 +156,7 @@ require (
156156
k8s.io/klog/v2 v2.130.1 // indirect
157157
k8s.io/kube-openapi v0.0.0-20241212222426-2c72e554b1e7 // indirect
158158
k8s.io/utils v0.0.0-20241210054802-24370beab758 // indirect
159-
knative.dev/networking v0.0.0-20250217154350-2cde4327c6c8 // indirect
159+
knative.dev/networking v0.0.0-20250226145929-863b7af736fb // indirect
160160
sigs.k8s.io/controller-runtime v0.7.2 // indirect
161161
sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 // indirect
162162
sigs.k8s.io/structured-merge-diff/v4 v4.5.0 // indirect

go.sum

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1408,18 +1408,18 @@ k8s.io/utils v0.0.0-20241210054802-24370beab758 h1:sdbE21q2nlQtFh65saZY+rRM6x6aJ
14081408
k8s.io/utils v0.0.0-20241210054802-24370beab758/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
14091409
knative.dev/caching v0.0.0-20250226145629-ad23fbda1a2b h1:+24CIfsRD0tZfHCLq+IZTQFCkfGMRdUCqpss+6+WaZY=
14101410
knative.dev/caching v0.0.0-20250226145629-ad23fbda1a2b/go.mod h1:iu5bpefRxe1sIK2CkEJklOsHqJsG2eEqMbb4SvOmCVI=
1411-
knative.dev/eventing v0.44.1-0.20250226080629-3153b4735d1c h1:3WFyltczn9ufFEQ4qv0HxqZnKzTPpbwetyUYALcDpn0=
1412-
knative.dev/eventing v0.44.1-0.20250226080629-3153b4735d1c/go.mod h1:i4PjN2rb0QmMyixcu2t7We+m7IUElw/usr6EuKAP9+g=
1411+
knative.dev/eventing v0.44.1-0.20250227113130-1e889be219d8 h1:l0Ne5dR0R8n8tnOHCEjMqipQ0Dk/RqDD7hqua7NrDpE=
1412+
knative.dev/eventing v0.44.1-0.20250227113130-1e889be219d8/go.mod h1:WsyK1x7DoajDF7Vim1f4prGv6fEP9WbkiZYX/na8IK8=
14131413
knative.dev/hack v0.0.0-20250219013704-306ce745e077 h1:kcYrHAI+x7KHChjFfJ37Sq5QNAIwQExRor+g6Rbg1K0=
14141414
knative.dev/hack v0.0.0-20250219013704-306ce745e077/go.mod h1:R0ritgYtjLDO9527h5vb5X6gfvt5LCrJ55BNbVDsWiY=
1415-
knative.dev/networking v0.0.0-20250217154350-2cde4327c6c8 h1:3KfFspdja6AYVQu/XZy1ZQLE+ZGLMtDOaqCNmitQRH4=
1416-
knative.dev/networking v0.0.0-20250217154350-2cde4327c6c8/go.mod h1:7Kkv7ykFAzGxwoLW231CMsgOigvwcaZ5jfZ2IMfUyxo=
1415+
knative.dev/networking v0.0.0-20250226145929-863b7af736fb h1:rdr20A8ZhxeRalSvSF/OpdcmYOcZc3Lyo3caHL/d/6M=
1416+
knative.dev/networking v0.0.0-20250226145929-863b7af736fb/go.mod h1:7Kkv7ykFAzGxwoLW231CMsgOigvwcaZ5jfZ2IMfUyxo=
14171417
knative.dev/pkg v0.0.0-20250226145529-0372c089c78f h1:udznvloLcWaixDGrENQ9HRcj1fiMlE6cP8L0V3K4V74=
14181418
knative.dev/pkg v0.0.0-20250226145529-0372c089c78f/go.mod h1:ijkSiVyNl0yTjfRsGx3infOo9ohlyE1lTCri9iUHR80=
14191419
knative.dev/reconciler-test v0.0.0-20250219013557-5ca0bd4fcad5 h1:1j57zjXSniTDmw9p55y6GRQ5FbBRthLm9ytCkiRZNxg=
14201420
knative.dev/reconciler-test v0.0.0-20250219013557-5ca0bd4fcad5/go.mod h1:MgX538jlc+yX6k2wWWVPspP64eqLnw/0OAVdTeJJLEM=
1421-
knative.dev/serving v0.44.1-0.20250220121848-87c07ee250da h1:OwYknoB6gdGA/A/GTz8ZLv+zZJ07+JvmKlxc5eoo3+s=
1422-
knative.dev/serving v0.44.1-0.20250220121848-87c07ee250da/go.mod h1:Jf9YDff9QclodzwRYNY9onwHOMmONLHQPSo5zSs96ik=
1421+
knative.dev/serving v0.44.1-0.20250227084930-02106588462d h1:kG6IfEGSMC78j2zulhKFUbzmA9Ha4DeIWaOFp7tcXwg=
1422+
knative.dev/serving v0.44.1-0.20250227084930-02106588462d/go.mod h1:t5yFvGVjcdrNZxEu3F2l7aeVSbPqZ7iJtoslfUirhhA=
14231423
nhooyr.io/websocket v1.8.6/go.mod h1:B70DZP8IakI65RVQ51MsWP/8jndNma26DVA/nFSCgW0=
14241424
pgregory.net/rapid v1.1.0 h1:CMa0sjHSru3puNx+J0MIAuiiEV4N0qj8/cMWGBBCsjw=
14251425
pgregory.net/rapid v1.1.0/go.mod h1:PY5XlDGj0+V1FCq0o192FdRhpKHGTRIWBgqjDBTrq04=

vendor/knative.dev/eventing/pkg/apis/sources/v1/sinkbinding_lifecycle.go

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,11 @@ const (
4242
)
4343

4444
var sbCondSet = apis.NewLivingConditionSet(
45+
SinkBindingConditionAvailable,
4546
SinkBindingConditionSinkProvided,
4647
SinkBindingConditionOIDCIdentityCreated,
4748
SinkBindingConditionOIDCTokenSecretCreated,
49+
SinkBindingTrustBundlePropagated,
4850
)
4951

5052
// GetConditionSet retrieves the condition set for this resource. Implements the KRShaped interface.
@@ -86,12 +88,23 @@ func (sbs *SinkBindingStatus) InitializeConditions() {
8688
// MarkBindingUnavailable marks the SinkBinding's Ready condition to False with
8789
// the provided reason and message.
8890
func (sbs *SinkBindingStatus) MarkBindingUnavailable(reason, message string) {
89-
sbCondSet.Manage(sbs).MarkFalse(SinkBindingConditionReady, reason, message)
91+
sbCondSet.Manage(sbs).MarkFalse(SinkBindingConditionAvailable, reason, message)
9092
}
9193

9294
// MarkBindingAvailable marks the SinkBinding's Ready condition to True.
9395
func (sbs *SinkBindingStatus) MarkBindingAvailable() {
94-
sbCondSet.Manage(sbs).MarkTrue(SinkBindingConditionReady)
96+
sbCondSet.Manage(sbs).MarkTrue(SinkBindingConditionAvailable)
97+
}
98+
99+
// MarkFailedTrustBundlePropagation marks the SinkBinding's SinkBindingTrustBundlePropagated condition to False with
100+
// the provided reason and message.
101+
func (sbs *SinkBindingStatus) MarkFailedTrustBundlePropagation(reason, message string) {
102+
sbCondSet.Manage(sbs).MarkFalse(SinkBindingTrustBundlePropagated, reason, message)
103+
}
104+
105+
// MarkTrustBundlePropagated marks the SinkBinding's SinkBindingTrustBundlePropagated condition to True.
106+
func (sbs *SinkBindingStatus) MarkTrustBundlePropagated() {
107+
sbCondSet.Manage(sbs).MarkTrue(SinkBindingTrustBundlePropagated)
95108
}
96109

97110
// MarkSink sets the condition that the source has a sink configured.
@@ -106,6 +119,11 @@ func (sbs *SinkBindingStatus) MarkSink(addr *duckv1.Addressable) {
106119
}
107120
}
108121

122+
// MarkSinkFailed sets the condition that the source has a sink configured.
123+
func (sbs *SinkBindingStatus) MarkSinkFailed(reason, messageFormat string, messageA ...interface{}) {
124+
sbCondSet.Manage(sbs).MarkFalse(SinkBindingConditionSinkProvided, reason, messageFormat, messageA...)
125+
}
126+
109127
func (sbs *SinkBindingStatus) MarkOIDCIdentityCreatedSucceeded() {
110128
sbCondSet.Manage(sbs).MarkTrue(SinkBindingConditionOIDCIdentityCreated)
111129
}

vendor/knative.dev/eventing/pkg/apis/sources/v1/sinkbinding_types.go

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,18 @@ type SinkBindingSpec struct {
7070
}
7171

7272
const (
73-
// SinkBindingConditionReady is configured to indicate whether the Binding
73+
// SinkBindingConditionAvailable is configured to indicate whether the Binding
7474
// has been configured for resources subject to its runtime contract.
75-
SinkBindingConditionReady = apis.ConditionReady
75+
SinkBindingConditionAvailable apis.ConditionType = "SinkBindingAvailable"
7676

7777
// SinkBindingConditionSinkProvided is configured to indicate whether the
7878
// sink has been properly extracted from the resolver.
7979
SinkBindingConditionSinkProvided apis.ConditionType = "SinkProvided"
8080

81+
// SinkBindingTrustBundlePropagated is configured to indicate whether the
82+
// TLS trust bundle has been properly propagated.
83+
SinkBindingTrustBundlePropagated apis.ConditionType = "TrustBundlePropagated"
84+
8185
// SinkBindingConditionOIDCIdentityCreated is configured to indicate whether
8286
// the OIDC identity has been created for the sink.
8387
SinkBindingConditionOIDCIdentityCreated apis.ConditionType = "OIDCIdentityCreated"

vendor/modules.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1421,7 +1421,7 @@ k8s.io/utils/trace
14211421
## explicit; go 1.23.0
14221422
knative.dev/caching/pkg/apis/caching
14231423
knative.dev/caching/pkg/apis/caching/v1alpha1
1424-
# knative.dev/eventing v0.44.1-0.20250226080629-3153b4735d1c
1424+
# knative.dev/eventing v0.44.1-0.20250227113130-1e889be219d8
14251425
## explicit; go 1.23.0
14261426
knative.dev/eventing/cmd/heartbeats
14271427
knative.dev/eventing/pkg/apis
@@ -1514,7 +1514,7 @@ knative.dev/eventing/test/upgrade/prober/wathola/sender
15141514
# knative.dev/hack v0.0.0-20250219013704-306ce745e077
15151515
## explicit; go 1.21
15161516
knative.dev/hack
1517-
# knative.dev/networking v0.0.0-20250217154350-2cde4327c6c8
1517+
# knative.dev/networking v0.0.0-20250226145929-863b7af736fb
15181518
## explicit; go 1.23.0
15191519
knative.dev/networking/pkg
15201520
knative.dev/networking/pkg/apis/networking
@@ -1647,7 +1647,7 @@ knative.dev/reconciler-test/pkg/resources/service
16471647
knative.dev/reconciler-test/pkg/resources/serviceaccount
16481648
knative.dev/reconciler-test/pkg/state
16491649
knative.dev/reconciler-test/resources/certificate
1650-
# knative.dev/serving v0.44.1-0.20250220121848-87c07ee250da
1650+
# knative.dev/serving v0.44.1-0.20250227084930-02106588462d
16511651
## explicit; go 1.23.0
16521652
knative.dev/serving/pkg/apis/autoscaling
16531653
knative.dev/serving/pkg/apis/autoscaling/v1alpha1

0 commit comments

Comments
 (0)