From 9321fe03c35cb1099788c304ae297607d059794a Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Fri, 26 Apr 2024 09:39:32 +0200 Subject: [PATCH] build: use Go 1.22 Kubernetes 1.30 packages require Go 1.22 or newer. Signed-off-by: Niels de Vos --- build.env | 2 +- go.mod | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.env b/build.env index 65d945682..ff986f4b2 100644 --- a/build.env +++ b/build.env @@ -19,7 +19,7 @@ BASE_IMAGE=quay.io/ceph/ceph:v18 CEPH_VERSION=reef # standard Golang options -GOLANG_VERSION=1.21.9 +GOLANG_VERSION=1.22.2 GO111MODULE=on # commitlint version diff --git a/go.mod b/go.mod index a207051b0..ffb931894 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,8 @@ module github.com/ceph/ceph-csi -go 1.21 +go 1.22 -toolchain go1.21.9 +toolchain go1.22.2 require ( github.com/IBM/keyprotect-go-client v0.12.2