Skip to content

Commit

Permalink
apache#2749: Update the operator-sdk version
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
phantomjinx committed Nov 17, 2021
1 parent 7badb8b commit ad89a16
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion script/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,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
Expand Down Expand Up @@ -424,6 +424,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

Expand Down

0 comments on commit ad89a16

Please sign in to comment.