[go] Bump images, dependencies and versions to go 1.22rc1

Signed-off-by: cpanato <ctadeu@gmail.com>
This commit is contained in:
cpanato 2024-01-20 10:30:48 +01:00
parent c606448922
commit c9991e4270
Failed to extract signature
6 changed files with 6 additions and 5 deletions

View File

@ -1 +1 @@
1.21.6
1.22rc1

View File

@ -1 +1 @@
v1.30.0-go1.21.6-bullseye.0
v1.30.0-go1.22rc1-bullseye.0

View File

@ -97,7 +97,7 @@ readonly KUBE_CONTAINER_RSYNC_PORT=8730
# These are the default versions (image tags) for their respective base images.
readonly __default_distroless_iptables_version=v0.4.4
readonly __default_go_runner_version=v2.3.1-go1.21.6-bookworm.0
readonly __default_go_runner_version=v2.3.1-go1.22rc1-bookworm.0
readonly __default_setcap_version=bookworm-v1.0.0
# These are the base images for the Docker-wrapped binaries.

View File

@ -497,6 +497,7 @@ EOF
local go_version
IFS=" " read -ra go_version <<< "$(GOFLAGS='' go version)"
local minimum_go_version
# TODO: Update to go1.22 as soon we are ready to merge this
minimum_go_version=go1.21
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
kube::log::usage_from_stdin <<EOF

View File

@ -2392,4 +2392,4 @@ rules:
- staging/src/k8s.io/endpointslice
recursive-delete-patterns:
- '*/.gitattributes'
default-go-version: 1.21.6
default-go-version: 1.22rc1

View File

@ -16,7 +16,7 @@ REGISTRY ?= registry.k8s.io/e2e-test-images
GOARM ?= 7
DOCKER_CERT_BASE_PATH ?=
QEMUVERSION=v5.1.0-2
GOLANG_VERSION=1.21.6
GOLANG_VERSION=1.22rc1
export
ifndef WHAT