Skip to content

Commit fa1b0b7

Browse files
upgrade to latest dependencies (#477)
bumping knative.dev/eventing-kafka-broker 4acacc2...66a1548: > 66a1548 fix(control-plane): kafkasink reconciler cluster admin error (# 4720) > 5436d4c Update eventing nightly (# 4718) bumping knative.dev/client/pkg 8c99918...98e7919: > 98e7919 upgrade to latest dependencies (# 2218) > bb0c61e upgrade to latest dependencies (# 2217) > 95c16c5 upgrade to latest dependencies (# 2216) > e622d63 upgrade to latest dependencies (# 2215) bumping knative.dev/eventing 43e651f...504f7e0: > 504f7e0 Fix outdated documentation: broken links, wrong paths, stale claims (# 9087) > 96ca1b2 Migrate from deprecated v1 Endpoints to discovery.k8s.io/v1 EndpointSlice (# 9032) > fdfff0b build(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.95.0 to 1.97.3 (# 9051) bumping knative.dev/serving dbaab46...a4e653b: > a4e653b Update net-gateway-api nightly (# 16596) > 29a43b6 Update net-kourier nightly (# 16595) Signed-off-by: Knative Automation <automation@knative.team>
1 parent 9e65ef4 commit fa1b0b7

6 files changed

Lines changed: 49 additions & 47 deletions

File tree

go.mod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ require (
1212
k8s.io/api v0.35.4
1313
k8s.io/apimachinery v0.35.4
1414
k8s.io/client-go v0.35.4
15-
knative.dev/client/pkg v0.0.0-20260513024129-8c9991840838
16-
knative.dev/eventing-kafka-broker v0.49.1-0.20260508133226-4acacc2fc1bd
15+
knative.dev/client/pkg v0.0.0-20260519023424-98e7919fabc1
16+
knative.dev/eventing-kafka-broker v0.49.1-0.20260518073336-66a1548afdee
1717
knative.dev/hack v0.0.0-20260428014158-b2a37f1b6e7b
1818
knative.dev/pkg v0.0.0-20260507212125-df317a52d112
1919
)
@@ -102,9 +102,9 @@ require (
102102
k8s.io/klog/v2 v2.130.1 // indirect
103103
k8s.io/kube-openapi v0.0.0-20250910181357-589584f1c912 // indirect
104104
k8s.io/utils v0.0.0-20251002143259-bc988d571ff4 // indirect
105-
knative.dev/eventing v0.49.1-0.20260511150731-43e651f7940a // indirect
105+
knative.dev/eventing v0.49.1-0.20260518163531-504f7e00e182 // indirect
106106
knative.dev/networking v0.0.0-20260506015723-9b427f7c8091 // indirect
107-
knative.dev/serving v0.49.1-0.20260512221929-dbaab46874d2 // indirect
107+
knative.dev/serving v0.49.1-0.20260515125932-a4e653bb53da // indirect
108108
sigs.k8s.io/gateway-api v1.1.0 // indirect
109109
sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 // indirect
110110
sigs.k8s.io/kustomize/api v0.20.1 // indirect

go.sum

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -295,20 +295,20 @@ k8s.io/kube-openapi v0.0.0-20250910181357-589584f1c912 h1:Y3gxNAuB0OBLImH611+UDZ
295295
k8s.io/kube-openapi v0.0.0-20250910181357-589584f1c912/go.mod h1:kdmbQkyfwUagLfXIad1y2TdrjPFWp2Q89B3qkRwf/pQ=
296296
k8s.io/utils v0.0.0-20251002143259-bc988d571ff4 h1:SjGebBtkBqHFOli+05xYbK8YF1Dzkbzn+gDM4X9T4Ck=
297297
k8s.io/utils v0.0.0-20251002143259-bc988d571ff4/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
298-
knative.dev/client/pkg v0.0.0-20260513024129-8c9991840838 h1:WZTFQG8AVm5VfEK1dQ8gqzjBFieS+Ph06YXEWd79SRE=
299-
knative.dev/client/pkg v0.0.0-20260513024129-8c9991840838/go.mod h1:B0DrZR0oeDBMykTuNvJQTYmliR+87mWNt3X82Jpgj2k=
300-
knative.dev/eventing v0.49.1-0.20260511150731-43e651f7940a h1:Iq198f0CCOm+gIArlRzxyw+Ini/izupUjBjqyZy6GoM=
301-
knative.dev/eventing v0.49.1-0.20260511150731-43e651f7940a/go.mod h1:rqixbt+It0fwbQQuPjVDAEiLi12KnLG3Bmul3T5IHAM=
302-
knative.dev/eventing-kafka-broker v0.49.1-0.20260508133226-4acacc2fc1bd h1:eJx1G/w5KUwBYTen6dydv/zFhwP+m13hfIA8oFge6ng=
303-
knative.dev/eventing-kafka-broker v0.49.1-0.20260508133226-4acacc2fc1bd/go.mod h1:xMLVuC3mpEcrbGqQPb8dfdk7QIC2omQcltmYxSC3QUE=
298+
knative.dev/client/pkg v0.0.0-20260519023424-98e7919fabc1 h1:nQVa8xJ2+5lZPd4GdbiL3Z8XrFW4aYA4uqW0A7K48JM=
299+
knative.dev/client/pkg v0.0.0-20260519023424-98e7919fabc1/go.mod h1:6bR7WtKLJj1U3iWlZhTpOvnCAo4ScxOnXUw8TyjZefA=
300+
knative.dev/eventing v0.49.1-0.20260518163531-504f7e00e182 h1:4pEVjHEyOJ/nlYzdWdb2Y8Mrnjz/IarbzgECp67xsLQ=
301+
knative.dev/eventing v0.49.1-0.20260518163531-504f7e00e182/go.mod h1:LSd+ROlnWPmpvEfX8xSfTWF86o3TWgegahU6N1qqK30=
302+
knative.dev/eventing-kafka-broker v0.49.1-0.20260518073336-66a1548afdee h1:BF6wWYH3vGUjpdXo37AXB4kjfX0Cxh3jI9poQJhBsGo=
303+
knative.dev/eventing-kafka-broker v0.49.1-0.20260518073336-66a1548afdee/go.mod h1:xMLVuC3mpEcrbGqQPb8dfdk7QIC2omQcltmYxSC3QUE=
304304
knative.dev/hack v0.0.0-20260428014158-b2a37f1b6e7b h1:MvbV2F2BdI8qKrYYUhDwbUZbX0BAYRSIpXM2TOtTvs0=
305305
knative.dev/hack v0.0.0-20260428014158-b2a37f1b6e7b/go.mod h1:L5RzHgbvam0u8QFHfzCX6MKxu/a/gIGEdaRBqNiVbl0=
306306
knative.dev/networking v0.0.0-20260506015723-9b427f7c8091 h1:Fg091hEPQvqKQYBO7hQ20yID1wFbD4hIDz552mI4L14=
307307
knative.dev/networking v0.0.0-20260506015723-9b427f7c8091/go.mod h1:1+QQXuA6k0gzGJ/Lpp+mZQebDXEfybMu3q+C8a1g54Q=
308308
knative.dev/pkg v0.0.0-20260507212125-df317a52d112 h1:ftdGpzukmrlcTRTCZytQQ+mAMUAFqcq/cwIUwc/Lk2s=
309309
knative.dev/pkg v0.0.0-20260507212125-df317a52d112/go.mod h1:JM+8ds+MTBtPK2aCp6pGUHQx9gNIL8wuMhqr0sxtDog=
310-
knative.dev/serving v0.49.1-0.20260512221929-dbaab46874d2 h1:8zqDL3WhXBqAvePlBnYZDGj5lXS19JnVca3gu+A17j4=
311-
knative.dev/serving v0.49.1-0.20260512221929-dbaab46874d2/go.mod h1:3hXF5IUiZow3USDS0rA5UQeZCP30OwuDalcQS96XmFQ=
310+
knative.dev/serving v0.49.1-0.20260515125932-a4e653bb53da h1:CbJUXD8MlfKLTnDLZVQX1Tl5vhCs+D1BSY9FH9J4Zt4=
311+
knative.dev/serving v0.49.1-0.20260515125932-a4e653bb53da/go.mod h1:3hXF5IUiZow3USDS0rA5UQeZCP30OwuDalcQS96XmFQ=
312312
sigs.k8s.io/gateway-api v1.1.0 h1:DsLDXCi6jR+Xz8/xd0Z1PYl2Pn0TyaFMOPPZIj4inDM=
313313
sigs.k8s.io/gateway-api v1.1.0/go.mod h1:ZH4lHrL2sDi0FHZ9jjneb8kKnGzFWyrTya35sWUTrRs=
314314
sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 h1:IpInykpT6ceI+QxKBbEflcR5EXP7sU1kvOlxwZh5txg=

vendor/knative.dev/eventing/pkg/apis/duck/lifecycle_helper.go

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ package duck
1818

1919
import (
2020
appsv1 "k8s.io/api/apps/v1"
21-
corev1 "k8s.io/api/core/v1"
21+
discoveryv1 "k8s.io/api/discovery/v1"
2222
)
2323

2424
// DeploymentIsAvailable determines if the provided deployment is available. Note that if it cannot
@@ -33,11 +33,14 @@ func DeploymentIsAvailable(d *appsv1.DeploymentStatus, def bool) bool {
3333
return def
3434
}
3535

36-
// EndpointsAreAvailable determines if the provided Endpoints are available.
37-
func EndpointsAreAvailable(ep *corev1.Endpoints) bool {
38-
for _, subset := range ep.Subsets {
39-
if len(subset.Addresses) > 0 {
40-
return true
36+
// EndpointSlicesAreAvailable determines if the provided EndpointSlices have any ready endpoints.
37+
func EndpointSlicesAreAvailable(epSlices []*discoveryv1.EndpointSlice) bool {
38+
for _, eps := range epSlices {
39+
for _, ep := range eps.Endpoints {
40+
// Per the K8s API spec, a nil Ready value should be interpreted as ready.
41+
if ep.Conditions.Ready == nil || *ep.Conditions.Ready {
42+
return true
43+
}
4144
}
4245
}
4346
return false

vendor/knative.dev/eventing/pkg/apis/eventing/v1/broker_lifecycle_mt.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ limitations under the License.
1717
package v1
1818

1919
import (
20-
corev1 "k8s.io/api/core/v1"
20+
discoveryv1 "k8s.io/api/discovery/v1"
2121

2222
"knative.dev/eventing/pkg/apis/duck"
2323
duckv1 "knative.dev/eventing/pkg/apis/duck/v1"
@@ -27,11 +27,11 @@ func (bs *BrokerStatus) MarkIngressFailed(reason, format string, args ...interfa
2727
bs.GetConditionSet().Manage(bs).MarkFalse(BrokerConditionIngress, reason, format, args...)
2828
}
2929

30-
func (bs *BrokerStatus) PropagateIngressAvailability(ep *corev1.Endpoints) {
31-
if duck.EndpointsAreAvailable(ep) {
30+
func (bs *BrokerStatus) PropagateIngressAvailability(epSlices []*discoveryv1.EndpointSlice) {
31+
if duck.EndpointSlicesAreAvailable(epSlices) {
3232
bs.GetConditionSet().Manage(bs).MarkTrue(BrokerConditionIngress)
3333
} else {
34-
bs.MarkIngressFailed("EndpointsUnavailable", "Endpoints %q are unavailable.", ep.Name)
34+
bs.MarkIngressFailed("EndpointSlicesUnavailable", "EndpointSlices are unavailable.")
3535
}
3636
}
3737

@@ -57,10 +57,10 @@ func (bs *BrokerStatus) MarkFilterFailed(reason, format string, args ...interfac
5757
bs.GetConditionSet().Manage(bs).MarkFalse(BrokerConditionFilter, reason, format, args...)
5858
}
5959

60-
func (bs *BrokerStatus) PropagateFilterAvailability(ep *corev1.Endpoints) {
61-
if duck.EndpointsAreAvailable(ep) {
60+
func (bs *BrokerStatus) PropagateFilterAvailability(epSlices []*discoveryv1.EndpointSlice) {
61+
if duck.EndpointSlicesAreAvailable(epSlices) {
6262
bs.GetConditionSet().Manage(bs).MarkTrue(BrokerConditionFilter)
6363
} else {
64-
bs.MarkFilterFailed("EndpointsUnavailable", "Endpoints %q are unavailable.", ep.Name)
64+
bs.MarkFilterFailed("EndpointSlicesUnavailable", "EndpointSlices are unavailable.")
6565
}
6666
}

vendor/knative.dev/eventing/pkg/apis/eventing/v1/test_helper.go

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ package v1
1818

1919
import (
2020
corev1 "k8s.io/api/core/v1"
21+
discoveryv1 "k8s.io/api/discovery/v1"
2122

2223
"knative.dev/pkg/apis"
2324
duckv1 "knative.dev/pkg/apis/duck/v1"
@@ -59,9 +60,9 @@ func (testHelper) ReadySubscriptionStatus() *messagingv1.SubscriptionStatus {
5960

6061
func (t testHelper) ReadyBrokerStatus() *BrokerStatus {
6162
bs := &BrokerStatus{}
62-
bs.PropagateIngressAvailability(t.AvailableEndpoints())
63+
bs.PropagateIngressAvailability(t.AvailableEndpointSlices())
6364
bs.PropagateTriggerChannelReadiness(t.ReadyChannelStatus())
64-
bs.PropagateFilterAvailability(t.AvailableEndpoints())
65+
bs.PropagateFilterAvailability(t.AvailableEndpointSlices())
6566
bs.SetAddress(&duckv1.Addressable{
6667
URL: apis.HTTP("example.com"),
6768
})
@@ -72,9 +73,9 @@ func (t testHelper) ReadyBrokerStatus() *BrokerStatus {
7273

7374
func (t testHelper) ReadyBrokerStatusWithoutDLS() *BrokerStatus {
7475
bs := &BrokerStatus{}
75-
bs.PropagateIngressAvailability(t.AvailableEndpoints())
76+
bs.PropagateIngressAvailability(t.AvailableEndpointSlices())
7677
bs.PropagateTriggerChannelReadiness(t.ReadyChannelStatus())
77-
bs.PropagateFilterAvailability(t.AvailableEndpoints())
78+
bs.PropagateFilterAvailability(t.AvailableEndpointSlices())
7879
bs.SetAddress(&duckv1.Addressable{
7980
URL: apis.HTTP("example.com"),
8081
})
@@ -102,26 +103,24 @@ func (testHelper) FalseBrokerStatus() *BrokerStatus {
102103
return bs
103104
}
104105

105-
func (testHelper) UnavailableEndpoints() *corev1.Endpoints {
106-
ep := &corev1.Endpoints{}
107-
ep.Name = "unavailable"
108-
ep.Subsets = []corev1.EndpointSubset{{
109-
NotReadyAddresses: []corev1.EndpointAddress{{
110-
IP: "127.0.0.1",
106+
func (testHelper) UnavailableEndpointSlices() []*discoveryv1.EndpointSlice {
107+
ready := false
108+
return []*discoveryv1.EndpointSlice{{
109+
Endpoints: []discoveryv1.Endpoint{{
110+
Addresses: []string{"127.0.0.1"},
111+
Conditions: discoveryv1.EndpointConditions{Ready: &ready},
111112
}},
112113
}}
113-
return ep
114114
}
115115

116-
func (testHelper) AvailableEndpoints() *corev1.Endpoints {
117-
ep := &corev1.Endpoints{}
118-
ep.Name = "available"
119-
ep.Subsets = []corev1.EndpointSubset{{
120-
Addresses: []corev1.EndpointAddress{{
121-
IP: "127.0.0.1",
116+
func (testHelper) AvailableEndpointSlices() []*discoveryv1.EndpointSlice {
117+
ready := true
118+
return []*discoveryv1.EndpointSlice{{
119+
Endpoints: []discoveryv1.Endpoint{{
120+
Addresses: []string{"127.0.0.1"},
121+
Conditions: discoveryv1.EndpointConditions{Ready: &ready},
122122
}},
123123
}}
124-
return ep
125124
}
126125

127126
func (testHelper) ReadyChannelStatus() *eventingduckv1.ChannelableStatus {

vendor/modules.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -845,7 +845,7 @@ k8s.io/utils/net
845845
k8s.io/utils/pointer
846846
k8s.io/utils/ptr
847847
k8s.io/utils/trace
848-
# knative.dev/client/pkg v0.0.0-20260513024129-8c9991840838
848+
# knative.dev/client/pkg v0.0.0-20260519023424-98e7919fabc1
849849
## explicit; go 1.25.0
850850
knative.dev/client/pkg/apis/client
851851
knative.dev/client/pkg/apis/client/v1alpha1
@@ -872,7 +872,7 @@ knative.dev/client/pkg/util/errors
872872
knative.dev/client/pkg/util/mock
873873
knative.dev/client/pkg/util/test
874874
knative.dev/client/pkg/wait
875-
# knative.dev/eventing v0.49.1-0.20260511150731-43e651f7940a
875+
# knative.dev/eventing v0.49.1-0.20260518163531-504f7e00e182
876876
## explicit; go 1.25.0
877877
knative.dev/eventing/pkg/apis/common/integration/v1alpha1
878878
knative.dev/eventing/pkg/apis/config
@@ -906,7 +906,7 @@ knative.dev/eventing/pkg/client/clientset/versioned/typed/sources/v1
906906
knative.dev/eventing/pkg/client/clientset/versioned/typed/sources/v1/fake
907907
knative.dev/eventing/pkg/crossnamespace
908908
knative.dev/eventing/pkg/eventingtls
909-
# knative.dev/eventing-kafka-broker v0.49.1-0.20260508133226-4acacc2fc1bd
909+
# knative.dev/eventing-kafka-broker v0.49.1-0.20260518073336-66a1548afdee
910910
## explicit; go 1.25.0
911911
knative.dev/eventing-kafka-broker/control-plane/pkg/apis/bindings
912912
knative.dev/eventing-kafka-broker/control-plane/pkg/apis/bindings/v1
@@ -981,7 +981,7 @@ knative.dev/pkg/test/logging
981981
knative.dev/pkg/test/spoof
982982
knative.dev/pkg/tracker
983983
knative.dev/pkg/webhook/resourcesemantics
984-
# knative.dev/serving v0.49.1-0.20260512221929-dbaab46874d2
984+
# knative.dev/serving v0.49.1-0.20260515125932-a4e653bb53da
985985
## explicit; go 1.25.0
986986
knative.dev/serving/pkg/apis/autoscaling
987987
knative.dev/serving/pkg/apis/autoscaling/v1alpha1

0 commit comments

Comments
 (0)