-
Notifications
You must be signed in to change notification settings - Fork 43
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
fix: use downloaded operator-sdk #230
Conversation
This commit updates the Makefile to use the downloaded operator-sdk so as to use a fixed version on every system. It also updates the operator-sdk version. Signed-off-by: N Balachandran <[email protected]>
@@ -268,20 +270,12 @@ endif | |||
|
|||
.PHONY: operator-sdk | |||
OPERATOR_SDK = ./bin/operator-sdk | |||
operator-sdk: ## Download operator-sdk locally if necessary. | |||
ifeq (,$(wildcard $(OPERATOR_SDK))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- better have this one atleast or-else sdk is downloaded everytime the target is called
- the downside will be a mismatch version, however that's better than downloading everytime I believe.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The intention is to use the same version everytime as we are seeing different behaviour with different versions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, if the frequency of calling this target as a sub-target is less I'd also vote for this PR.
@@ -5,6 +5,8 @@ | |||
# - use environment variables to overwrite this value (e.g export VERSION=0.0.2) | |||
VERSION ?= 0.0.1 | |||
|
|||
OPERATOR_SDK_VERSION ?= 1.21.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not the latest version 1.22.2
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are breaking changes which I would like ti understand before upgrading to this version.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: nbalacha, sp98 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This commit updates the Makefile to use the downloaded
operator-sdk so as to use a fixed version on every system.
It also updates the operator-sdk version.
Signed-off-by: N Balachandran [email protected]