Skip to content

Commit

Permalink
Merge pull request #120 from razo7/bundle-upgrade
Browse files Browse the repository at this point in the history
Update and Upgrade Bundle Image
  • Loading branch information
openshift-merge-bot[bot] authored Feb 25, 2024
2 parents fb550a6 + df2ecd1 commit d125978
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,12 @@ test-no-verify: go-verify manifests generate fmt fix-imports vet envtest ginkgo
bundle-run: operator-sdk ## Run bundle image. Default NS is "openshift-workload-availability", redefine OPERATOR_NAMESPACE to override it.
$(OPERATOR_SDK) -n $(OPERATOR_NAMESPACE) run bundle $(BUNDLE_IMG)

.PHONY: bundle-run-update
bundle-run-update: operator-sdk ## Update bundle image.
# An older bundle image CSV should exist in the cluster, and in the same namespace,
# Default NS is "openshift-workload-availability", redefine OPERATOR_NAMESPACE to override it.
$(OPERATOR_SDK) -n $(OPERATOR_NAMESPACE) run bundle-upgrade $(BUNDLE_IMG)

.PHONY: bundle-cleanup
bundle-cleanup: operator-sdk ## Remove bundle installed via bundle-run
$(OPERATOR_SDK) -n $(OPERATOR_NAMESPACE) cleanup $(OPERATOR_NAME)
Expand Down

0 comments on commit d125978

Please sign in to comment.