-
Notifications
You must be signed in to change notification settings - Fork 8
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
Add bundle-cleanup target #103
Conversation
Add bundle-cleanup target to remove the bundle installed via bundle-run Signed-off-by: Carlo Lobrano <[email protected]>
Skipping CI for Draft Pull Request. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: clobrano 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 |
/lgtm |
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.
Thanks for adding :) left small nit that we can follow up later
@@ -191,6 +191,10 @@ export BUNDLE_RUN_NAMESPACE ?= openshift-operators | |||
bundle-run: operator-sdk ## Run bundle image. Default NS is "openshift-operators", redefine BUNDLE_RUN_NAMESPACE to override it. | |||
$(OPERATOR_SDK) -n $(BUNDLE_RUN_NAMESPACE) run bundle $(BUNDLE_IMG) | |||
|
|||
.PHONY: bundle-cleanup | |||
bundle-cleanup: operator-sdk ## Remove bundle installed via bundle-run | |||
$(OPERATOR_SDK) -n openshift-operators cleanup $(OPERATOR_NAME) |
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.
NIT: would have been nicer if the namespace would be easily adjustable for cleaning up installation on any namespace.
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.
This makes sense 👍
Let's also see how it goes the discussion about the new installation namespace
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.
discussion about the new installation namespace
I think this discussion is about the installation namespace for downstream FAR.
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.
I think this discussion is about the installation namespace for downstream FAR.
I see, I didn't get this at first. Also, just noticed that bundle-run
already is adjustable so I'll change bundle-cleanup
accordingly
Add bundle-cleanup target to remove the bundle installed via bundle-run