This is an automated email from the ASF dual-hosted git repository. astefanutti pushed a commit to branch release-1.7.x in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 97165221139e3776c206c044ca17f25f5a590943 Author: phantomjinx <p.g.richard...@phantomjinx.co.uk> AuthorDate: Tue Nov 16 14:13:09 2021 +0000 #2755: Update the operator-sdk version * Raises the version to 1.14.0 that ensures that service-accounts used in the CSV are not duplicated in any separate resources. * Provides a warning that if the operator-sdk is already installed then print its version and warn the user to check if its below version 1.14 --- script/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/script/Makefile b/script/Makefile index 9c7305b..7aa3372 100644 --- a/script/Makefile +++ b/script/Makefile @@ -22,7 +22,7 @@ BUILDAH_VERSION := 1.14.0 KANIKO_VERSION := 0.17.1 INSTALL_DEFAULT_KAMELETS := true CONTROLLER_GEN_VERSION := v0.4.1 -OPERATOR_SDK_VERSION := v1.5.0 +OPERATOR_SDK_VERSION := v1.14.0 KUSTOMIZE_VERSION := v4.1.2 BASE_IMAGE := adoptopenjdk/openjdk11:slim LOCAL_REPOSITORY := /tmp/artifacts/m2 @@ -402,6 +402,11 @@ ifeq (, $(shell which operator-sdk)) } OPERATOR_SDK=$(GOBIN)/operator-sdk else + @{ \ + echo -n "operator-sdk already installed: "; \ + operator-sdk version | sed -n 's/.*"v\([^"]*\)".*/\1/p'; \ + echo " If this is less than $(OPERATOR_SDK_VERSION) then please consider moving it aside and allowing the approved version to be downloaded."; \ + } OPERATOR_SDK=$(shell which operator-sdk) endif