This is an automated email from the ASF dual-hosted git repository. astefanutti pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k.git
The following commit(s) were added to refs/heads/main by this push: new 7320a4b #2755: Update the operator-sdk version 7320a4b is described below commit 7320a4bda785d7b8ab6d1b9e1c73eb66b22518e9 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 10660ec..d89ba07 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 @@ -411,6 +411,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