Skip to content

Commit

Permalink
Fix image override in the Makefile
Browse files Browse the repository at this point in the history
Currently, it overrides a non-existing image location.

Update log collection with information I used to debug this:

Make sure the Ironic resource is collected even if it never finishes
provisioning. Also collect Deployment/DaemonSet. Collect the manager's
deployment and pods in the end of a run.

Signed-off-by: Dmitry Tantsur <[email protected]>
  • Loading branch information
dtantsur committed Nov 23, 2024
1 parent 8495aee commit aa42070
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ uninstall: manifests kustomize ## Uninstall CRDs from the K8s cluster specified

.PHONY: deploy
deploy: manifests kustomize ## Deploy controller to the K8s cluster specified in ~/.kube/config.
cd config/manager && $(KUSTOMIZE) edit set image controller=${IMG}
cd config/manager && $(KUSTOMIZE) edit set image quay.io/metal3-io/ironic-standalone-operator=${IMG}
$(KUSTOMIZE) build config/$(DEPLOY_TARGET) | kubectl apply -f -

.PHONY: undeploy
Expand Down

0 comments on commit aa42070

Please sign in to comment.