Bump golang.org/x/net to HEAD for http2 go1.27 wrap fixes

Updates golang.org/x/net to v0.55.1-0.20260602153038-42abb857022c to pick up
the go1.27 http2 "wrap" fixes:

- CL 782940 (golang/go#79642): configureServer registers the h2 and http/1.1
  ALPN protocols on s.TLSConfig.
- CL 785900 (golang/go#79778): ConfigureTransport/ConfigureTransports enable
  HTTP/2 on the transport and keep TLSClientConfig non-nil.

With both, the kube-apiserver secure-serving path and the client-go / apiserver
HTTP/2 clients negotiate HTTP/2 under go1.27 with no Kubernetes-side changes;
no workaround is needed.

Gerrit: https://go-review.googlesource.com/c/net/+/782940
Gerrit: https://go-review.googlesource.com/c/net/+/785900
Signed-off-by: Davanum Srinivas <davanum@gmail.com>

Kubernetes-commit: 544a4612cd73250f69e6a95f4b3de8b94112e594
This commit is contained in:
Davanum Srinivas
2026-06-02 12:21:42 -04:00
committed by Kubernetes Publisher
parent 96fd6526c4
commit b6d2945605
2 changed files with 27 additions and 15 deletions
+13 -5
View File
@@ -8,10 +8,10 @@ godebug default=go1.26
require (
golang.org/x/time v0.15.0
k8s.io/api v0.0.0-20260523134646-1259abfe30af
k8s.io/apimachinery v0.0.0-20260523134246-91c7cf9e414f
k8s.io/client-go v0.0.0-20260523135213-a35c5f8f964f
k8s.io/code-generator v0.0.0-20260523140206-4eecef6e21f4
k8s.io/api v0.0.0
k8s.io/apimachinery v0.0.0
k8s.io/client-go v0.0.0
k8s.io/code-generator v0.0.0
k8s.io/klog/v2 v2.140.0
k8s.io/kube-openapi v0.0.0-20260519202549-bbf5c5577288
k8s.io/utils v0.0.0-20260210185600-b8788abfbbc2
@@ -49,7 +49,7 @@ require (
go.yaml.in/yaml/v2 v2.4.4 // indirect
go.yaml.in/yaml/v3 v3.0.4 // indirect
golang.org/x/mod v0.35.0 // indirect
golang.org/x/net v0.55.0 // indirect
golang.org/x/net v0.55.1-0.20260602153038-42abb857022c // indirect
golang.org/x/oauth2 v0.36.0 // indirect
golang.org/x/sync v0.20.0 // indirect
golang.org/x/sys v0.45.0 // indirect
@@ -64,3 +64,11 @@ require (
sigs.k8s.io/randfill v1.0.0 // indirect
sigs.k8s.io/yaml v1.6.0 // indirect
)
replace (
k8s.io/api => ../api
k8s.io/apimachinery => ../apimachinery
k8s.io/client-go => ../client-go
k8s.io/code-generator => ../code-generator
k8s.io/streaming => ../streaming
)