build: use Go 1.22

Kubernetes 1.30 packages require Go 1.22 or newer.

Signed-off-by: Niels de Vos <ndevos@ibm.com>
This commit is contained in:
Niels de Vos 2024-04-26 09:39:32 +02:00 committed by mergify[bot]
parent 60e2527917
commit 9321fe03c3
2 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@ BASE_IMAGE=quay.io/ceph/ceph:v18
CEPH_VERSION=reef CEPH_VERSION=reef
# standard Golang options # standard Golang options
GOLANG_VERSION=1.21.9 GOLANG_VERSION=1.22.2
GO111MODULE=on GO111MODULE=on
# commitlint version # commitlint version

4
go.mod
View File

@ -1,8 +1,8 @@
module github.com/ceph/ceph-csi module github.com/ceph/ceph-csi
go 1.21 go 1.22
toolchain go1.21.9 toolchain go1.22.2
require ( require (
github.com/IBM/keyprotect-go-client v0.12.2 github.com/IBM/keyprotect-go-client v0.12.2