Bump to Go 1.25 (#620)

* bump to Go 1.25

* add go toolchain
This commit is contained in:
Enrico Candino
2026-01-21 15:21:34 +01:00
committed by GitHub
parent a3a4c931a0
commit 20c5441030
4 changed files with 6 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ kind: CustomResourceDefinition
metadata:
annotations:
helm.sh/resource-policy: keep
controller-gen.kubebuilder.io/version: v0.16.0
controller-gen.kubebuilder.io/version: v0.18.0
name: clusters.k3k.io
spec:
group: k3k.io

View File

@@ -4,7 +4,7 @@ kind: CustomResourceDefinition
metadata:
annotations:
helm.sh/resource-policy: keep
controller-gen.kubebuilder.io/version: v0.16.0
controller-gen.kubebuilder.io/version: v0.18.0
name: virtualclusterpolicies.k3k.io
spec:
group: k3k.io

4
go.mod
View File

@@ -1,6 +1,8 @@
module github.com/rancher/k3k
go 1.24.10
go 1.25
toolchain go1.25.6
replace (
github.com/google/cel-go => github.com/google/cel-go v0.20.1

View File

@@ -3,7 +3,7 @@
set -eou pipefail
CONTROLLER_TOOLS_VERSION=v0.16.0
CONTROLLER_TOOLS_VERSION=v0.18.0
# This will return non-zero until all of our objects in ./pkg/apis can generate valid crds.
# allowDangerousTypes is needed for struct that use floats