Skip to content

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.

Signed-off-by: shruti2522 <shruti.apc01@gmail.com>
@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
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 <shruti.apc01@gmail.com>
@@ -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