-
Notifications
You must be signed in to change notification settings - Fork 68
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
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: shruti2522 <[email protected]>
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 |
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.
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]>
config/manager/kustomization.yaml
Outdated
@@ -1,10 +1,10 @@ | |||
resources: | |||
- manager.yaml | |||
- manager.yaml |
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 shouldn't be part of this commit
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.