diff --git a/Dockerfile b/Dockerfile index 05ca5698..ff107dfd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build the manager binary -FROM golang:1.20 AS builder +FROM golang:1.21 AS builder ARG TARGETOS ARG TARGETARCH diff --git a/Makefile b/Makefile index 255b4a0d..b3e1ca64 100644 --- a/Makefile +++ b/Makefile @@ -203,7 +203,7 @@ $(CONTROLLER_GEN): $(LOCALBIN) .PHONY: envtest envtest: $(ENVTEST) ## Download envtest-setup locally if necessary. $(ENVTEST): $(LOCALBIN) - test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest + test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@v0.0.0-20240208111015-5923139bc5bd ##@ Test diff --git a/docs/Development.md b/docs/Development.md index f3915436..30a82ab9 100644 --- a/docs/Development.md +++ b/docs/Development.md @@ -33,7 +33,7 @@ The following dependencies are required to setup a development environment: - git - make -- Go v1.20 (newer versions break testing) +- Go v1.21 (newer versions break testing) - Kubebuilder (only required for making new controllers) - Docker (required for Kind) - Tilt