Skip to content

Commit 1a0804c

Browse files
authored
Merge pull request kubernetes#127076 from cpanato/update-go123
Bump images, dependencies and versions to go 1.23.0
2 parents 49ccfaf + b0c17b1 commit 1a0804c

File tree

8 files changed

+13
-13
lines changed

8 files changed

+13
-13
lines changed

.go-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.22.5
1+
1.23.0

build/build-image/cross/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1.31.0-go1.22.5-bullseye.0
1+
v1.32.0-go1.23.0-bullseye.0

build/common.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ readonly KUBE_RSYNC_PORT="${KUBE_RSYNC_PORT:-}"
9797
readonly KUBE_CONTAINER_RSYNC_PORT=8730
9898

9999
# These are the default versions (image tags) for their respective base images.
100-
readonly __default_distroless_iptables_version=v0.5.6
101-
readonly __default_go_runner_version=v2.3.1-go1.22.5-bookworm.0
100+
readonly __default_distroless_iptables_version=v0.6.2
101+
readonly __default_go_runner_version=v2.3.1-go1.23.0-bookworm.0
102102
readonly __default_setcap_version=bookworm-v1.0.3
103103

104104
# These are the base images for the Docker-wrapped binaries.

build/dependencies.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ dependencies:
116116

117117
# Golang
118118
- name: "golang: upstream version"
119-
version: 1.22.5
119+
version: 1.23.0
120120
refPaths:
121121
- path: .go-version
122122
- path: build/build-image/cross/VERSION
@@ -131,14 +131,14 @@ dependencies:
131131
# This entry is a stub of the major version to allow dependency checks to
132132
# pass when building Kubernetes using a pre-release of Golang.
133133
- name: "golang: 1.<major>"
134-
version: 1.22
134+
version: 1.23
135135
refPaths:
136136
- path: build/build-image/cross/VERSION
137137
- path: hack/lib/golang.sh
138138
match: minimum_go_version=go([0-9]+\.[0-9]+)
139139

140140
- name: "registry.k8s.io/kube-cross: dependents"
141-
version: v1.31.0-go1.22.5-bullseye.0
141+
version: v1.32.0-go1.23.0-bullseye.0
142142
refPaths:
143143
- path: build/build-image/cross/VERSION
144144

@@ -176,15 +176,15 @@ dependencies:
176176
match: registry\.k8s\.io\/build-image\/debian-base:[a-zA-Z]+\-v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)
177177

178178
- name: "registry.k8s.io/distroless-iptables: dependents"
179-
version: v0.5.6
179+
version: v0.6.2
180180
refPaths:
181181
- path: build/common.sh
182182
match: __default_distroless_iptables_version=
183183
- path: test/utils/image/manifest.go
184184
match: configs\[DistrolessIptables\] = Config{list\.BuildImageRegistry, "distroless-iptables", "v([0-9]+)\.([0-9]+)\.([0-9]+)"}
185185

186186
- name: "registry.k8s.io/go-runner: dependents"
187-
version: v2.3.1-go1.22.5-bookworm.0
187+
version: v2.3.1-go1.23.0-bookworm.0
188188
refPaths:
189189
- path: build/common.sh
190190
match: __default_go_runner_version=

hack/lib/golang.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ EOF
538538
local go_version
539539
IFS=" " read -ra go_version <<< "$(GOFLAGS='' go version)"
540540
local minimum_go_version
541-
minimum_go_version=go1.22
541+
minimum_go_version=go1.23
542542
if [[ "${minimum_go_version}" != $(echo -e "${minimum_go_version}\n${go_version[2]}" | sort -s -t. -k 1,1 -k 2,2n -k 3,3n | head -n1) && "${go_version[2]}" != "devel" ]]; then
543543
kube::log::usage_from_stdin <<EOF
544544
Detected go version: ${go_version[*]}.

staging/publishing/rules.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2443,4 +2443,4 @@ rules:
24432443
- staging/src/k8s.io/endpointslice
24442444
recursive-delete-patterns:
24452445
- '*/.gitattributes'
2446-
default-go-version: 1.22.5
2446+
default-go-version: 1.23.0

test/images/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ REGISTRY ?= registry.k8s.io/e2e-test-images
1616
GOARM ?= 7
1717
DOCKER_CERT_BASE_PATH ?=
1818
QEMUVERSION=v5.1.0-2
19-
GOLANG_VERSION=1.22.5
19+
GOLANG_VERSION=1.23.0
2020
export
2121

2222
ifndef WHAT

test/utils/image/manifest.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ func initImageConfigs(list RegistryList) (map[ImageID]Config, map[ImageID]Config
229229
configs[BusyBox] = Config{list.PromoterE2eRegistry, "busybox", "1.36.1-1"}
230230
configs[CudaVectorAdd] = Config{list.PromoterE2eRegistry, "cuda-vector-add", "1.0"}
231231
configs[CudaVectorAdd2] = Config{list.PromoterE2eRegistry, "cuda-vector-add", "2.3"}
232-
configs[DistrolessIptables] = Config{list.BuildImageRegistry, "distroless-iptables", "v0.5.6"}
232+
configs[DistrolessIptables] = Config{list.BuildImageRegistry, "distroless-iptables", "v0.6.2"}
233233
configs[Etcd] = Config{list.GcEtcdRegistry, "etcd", "3.5.15-0"}
234234
configs[Httpd] = Config{list.PromoterE2eRegistry, "httpd", "2.4.38-4"}
235235
configs[HttpdNew] = Config{list.PromoterE2eRegistry, "httpd", "2.4.39-4"}

0 commit comments

Comments
 (0)