Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: use setup-envtest latest version #601

Merged
merged 2 commits into from
Jan 10, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@ WATCH_NAMESPACE ?=

KUSTOMIZE_VERSION=v4.5.7
CONTROLLER_GEN_VERSION=v0.11.1

# Env test configuration
ENVTEST_K8S_VERSION=1.25.0
SETUP_ENVTEST_VERSION=v0.0.0-20221007015352-8ad090e0663e
ENVTEST_K8S_VERSION=1.26.0

LOCALBIN=$(shell pwd)/bin

all: build
Expand Down Expand Up @@ -132,7 +131,7 @@ kustomize: ## Download kustomize locally if necessary.
ENVTEST = $(shell pwd)/bin/setup-envtest
.PHONY: envtest
envtest: ## Download envtest-setup locally if necessary.
$(call go-get-tool,$(ENVTEST),sigs.k8s.io/controller-runtime/tools/setup-envtest@$(SETUP_ENVTEST_VERSION))
$(call go-get-tool,$(ENVTEST),sigs.k8s.io/controller-runtime/tools/setup-envtest@latest)

CRD_REF_DOCS = $(shell pwd)/bin/crd-ref-docs
crd-ref-docs:
Expand Down