File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ DEPLOY_LDFLAGS += -X ${APP_MODULE}/cmd/deployctl/cmd.GitHead=${GIT_HEAD}
27
27
DEPLOY_LDFLAGS += -X ${APP_MODULE}/cmd/deployctl/cmd.GitBranch=${GIT_BRANCH}
28
28
29
29
# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
30
- ENVTEST_K8S_VERSION = 1.23
30
+ ENVTEST_K8S_VERSION = 1.26
31
31
32
32
# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
33
33
ifeq (,$(shell go env GOBIN) )
@@ -177,6 +177,7 @@ GOLANGCI_LINT ?= $(LOCALBIN)/golangci-lint
177
177
KUSTOMIZE_VERSION ?= v3.8.7
178
178
CONTROLLER_TOOLS_VERSION ?= v0.8.0
179
179
GOLANGCI_LINT_VERSION ?= v1.49.0
180
+ SETPUP_ENVTEST_VERSION ?= release-0.16
180
181
181
182
KUSTOMIZE_INSTALL_SCRIPT ?= "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh"
182
183
GOLANGCI_INSTALL_SCRIPT ?= "https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh"
@@ -196,7 +197,7 @@ $(CONTROLLER_GEN): $(LOCALBIN)
196
197
.PHONY : envtest
197
198
envtest : $(ENVTEST ) # # Download envtest-setup locally if necessary.
198
199
$(ENVTEST ) : $(LOCALBIN )
199
- GOBIN=$(LOCALBIN ) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
200
+ GOBIN=$(LOCALBIN ) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@$( SETPUP_ENVTEST_VERSION )
200
201
201
202
.PHONY : deepequal-gen
202
203
deepequal-gen : $(DEEPEQUAL_GEN ) # # Download deepequal-gen locally if necessary.
You can’t perform that action at this time.
0 commit comments