Skip to content
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

Added all in one makefile rule to deploy bundle images #461

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

shruti2522
Copy link

Fixes #459
I've added deploy-olm-real rule to the Makefile, making it easier to deploy the operator. Now, it handles tasks like building images, updating references, applying resources, and ensuring readiness, streamlining cluster management for smoother operation.

@shruti2522 shruti2522 changed the title Added all in one makefile rule to to deploy bundle images Added all in one makefile rule to deploy bundle images Apr 22, 2024
Makefile Outdated
@@ -179,6 +179,13 @@ deploy-with-olm: deploy-olm load-on-kind build-and-push-bundle-images ## deploys
$(KUSTOMIZE) build config/olm-install | kubectl apply -f -
VERSION=$(CSV_VERSION) NAMESPACE=$(NAMESPACE) hack/wait-for-csv.sh

deploy-olm-real: export OPERATOR_SDK=operator-sdk
deploy-olm-real: deploy-olm build-and-push-bundle-images ## deploys the operator via OLM on a real cluster
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should remove the deploy-olm dependency?

Also, I wonder if we can refactor this a bit to avoid duplications with deploy-with-olm

Signed-off-by: shruti2522 <[email protected]>
@@ -1,10 +1,10 @@
resources:
- manager.yaml
- manager.yaml
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this shouldn't be part of this commit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

All in one makefile rule to build the index and bundle images, push them to a registry and deploy
2 participants