Skip to content

Commit 3598186

Browse files
dprinceabays
authored andcommitted
kubernetes-sigs/controller-runtime#3349 has updated golang to 1.25 in controller-runtime.
1 parent efcad67 commit 3598186

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ DEFAULT_IMG ?= quay.io/openstack-k8s-operators/glance-operator:latest
5757
IMG ?= $(DEFAULT_IMG)
5858
# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
5959
ENVTEST_K8S_VERSION = 1.31
60+
61+
SETUP_ENVTEST_VERSION ?= release-0.22
6062
GINKGO ?= $(LOCALBIN)/ginkgo
6163

6264
# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
@@ -249,7 +251,7 @@ $(CONTROLLER_GEN): $(LOCALBIN)
249251
.PHONY: envtest
250252
envtest: $(ENVTEST) ## Download envtest-setup locally if necessary.
251253
$(ENVTEST): $(LOCALBIN)
252-
test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
254+
test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@$(SETUP_ENVTEST_VERSION)
253255

254256
.PHONY: operator-sdk
255257
OPERATOR_SDK ?= $(LOCALBIN)/operator-sdk

api/go.mod

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ require (
4646
github.com/prometheus/procfs v0.16.1 // indirect
4747
github.com/rogpeppe/go-internal v1.13.1 // indirect
4848
github.com/spf13/pflag v1.0.7 // indirect
49+
github.com/stretchr/testify v1.11.1 // indirect
4950
github.com/x448/float16 v0.8.4 // indirect
5051
go.yaml.in/yaml/v2 v2.4.2 // indirect
5152
go.yaml.in/yaml/v3 v3.0.4 // indirect

api/go.sum

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,7 @@ github.com/spf13/pflag v1.0.7 h1:vN6T9TfwStFPFM5XzjsvmzZkLuaLX+HS+0SeFLRgU6M=
105105
github.com/spf13/pflag v1.0.7/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
106106
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
107107
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
108-
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
109-
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
108+
github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U=
110109
github.com/x448/float16 v0.8.4 h1:qLwI1I70+NjRFUR3zs1JPUCgaCXSh3SW62uAKT1mSBM=
111110
github.com/x448/float16 v0.8.4/go.mod h1:14CWIYCyZA/cWjXOioeEpHeN/83MdbZDRQHoFcYsOfg=
112111
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=

0 commit comments

Comments
 (0)