@@ -48,15 +48,15 @@ endif
4848
4949# Set the Operator SDK version to use. By default, what is installed on the system is used.
5050# This is useful for CI or a project to utilize a specific version of the operator-sdk toolkit.
51- OPERATOR_SDK_VERSION ?= v1.38 .0
51+ OPERATOR_SDK_VERSION ?= v1.41 .0
5252# Image URL to use all building/pushing image targets
5353# During development and testing, and before make deploy we need to export FS_IMG to point to
5454# the dev image generated using command `make build-feature-server-dev-docker`
5555IMG ?= $(IMAGE_TAG_BASE ) :$(VERSION )
5656FS_IMG ?= quay.io/feastdev/feature-server:$(VERSION )
5757CJ_IMG ?= quay.io/openshift/origin-cli:4.17
5858# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
59- ENVTEST_K8S_VERSION = 1.30 .0
59+ ENVTEST_K8S_VERSION = 1.31 .0
6060
6161# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
6262ifeq (,$(shell go env GOBIN) )
@@ -116,7 +116,7 @@ vet: ## Run go vet against code.
116116
117117.PHONY : test
118118test : build-installer vet lint envtest # # Run tests.
119- KUBEBUILDER_ASSETS=" $( shell $( ENVTEST) use $( ENVTEST_K8S_VERSION) --bin-dir $( LOCALBIN) -p path --use-deprecated-gcs=false ) " go test $$(go list ./... | grep -v test/e2e | grep -v test/data-source-types | grep -v test/upgrade | grep -v test/previous-version ) -coverprofile cover.out
119+ KUBEBUILDER_ASSETS=" $( shell $( ENVTEST) use $( ENVTEST_K8S_VERSION) --bin-dir $( LOCALBIN) -p path) " go test $$(go list ./... | grep -v test/e2e | grep -v test/data-source-types | grep -v test/upgrade | grep -v test/previous-version ) -coverprofile cover.out
120120
121121# Utilize Kind or modify the e2e tests to load the image locally, enabling compatibility with other vendors.
122122.PHONY : test-e2e # Run the e2e tests against a Kind k8s instance that is spun up.
@@ -239,11 +239,11 @@ GOLANGCI_LINT = $(LOCALBIN)/golangci-lint
239239ENVSUBST = $(LOCALBIN ) /envsubst
240240
241241# # Tool Versions
242- KUSTOMIZE_VERSION ?= v5.4.2
243- CONTROLLER_TOOLS_VERSION ?= v0.15 .0
244- CRD_REF_DOCS_VERSION ?= v0.1 .0
245- ENVTEST_VERSION ?= release-0.18
246- GOLANGCI_LINT_VERSION ?= v1.63.4
242+ KUSTOMIZE_VERSION ?= v5.4.3
243+ CONTROLLER_TOOLS_VERSION ?= v0.18 .0
244+ CRD_REF_DOCS_VERSION ?= v0.3 .0
245+ ENVTEST_VERSION ?= release-0.21
246+ GOLANGCI_LINT_VERSION ?= v2.1.0
247247ENVSUBST_VERSION ?= v1.4.2
248248
249249.PHONY : kustomize
@@ -264,7 +264,7 @@ $(ENVTEST): $(LOCALBIN)
264264.PHONY : golangci-lint
265265golangci-lint : $(GOLANGCI_LINT ) # # Download golangci-lint locally if necessary.
266266$(GOLANGCI_LINT ) : $(LOCALBIN )
267- $(call go-install-tool,$(GOLANGCI_LINT ) ,github.com/golangci/golangci-lint/cmd/golangci-lint,$(GOLANGCI_LINT_VERSION ) )
267+ $(call go-install-tool,$(GOLANGCI_LINT ) ,github.com/golangci/golangci-lint/v2/ cmd/golangci-lint,$(GOLANGCI_LINT_VERSION ) )
268268
269269.PHONY : envsubst
270270envsubst : $(ENVSUBST ) # # Download envsubst locally if necessary.
@@ -338,7 +338,7 @@ ifeq (,$(shell which opm 2>/dev/null))
338338 set -e ;\
339339 mkdir -p $(dir $(OPM)) ;\
340340 OS=$(shell go env GOOS) && ARCH=$(shell go env GOARCH) && \
341- curl -sSLo $(OPM) https://github.com/operator-framework/operator-registry/releases/download/v1.23 .0/$${OS}-$${ARCH}-opm ;\
341+ curl -sSLo $(OPM) https://github.com/operator-framework/operator-registry/releases/download/v1.55 .0/$${OS}-$${ARCH}-opm ;\
342342 chmod +x $(OPM) ;\
343343 }
344344else
0 commit comments