Skip to content

Commit

Permalink
Makefile: Ensure ${BPFMAN_IMG} is loaded into KIND cluster
Browse files Browse the repository at this point in the history
Fix an issue where the bpfman image referenced by `${BPFMAN_IMG}` is not
loaded into the Kind cluster when using `make run-on-kind`. This
resulted in Kubernetes pulling the image from quay.io, even if a locally
built version with the same tag exists.

Fixes: bpfman#105.

Signed-off-by: Andrew McDermott <amcdermo@redhat.com>
  • Loading branch information
frobware committed Aug 16, 2024
1 parent 6d7f517 commit 6729ecd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -354,8 +354,8 @@ push-images: ## Push bpfman-agent and bpfman-operator images.
$(OCI_BIN) push ${BPFMAN_IMG}

.PHONY: load-images-kind
load-images-kind: ## Load bpfman-agent, and bpfman-operator images into the running local kind devel cluster.
./hack/kind-load-image.sh ${KIND_CLUSTER_NAME} ${BPFMAN_OPERATOR_IMG} ${BPFMAN_AGENT_IMG}
load-images-kind: ## Load bpfman, bpfman-agent, and bpfman-operator images into the running local kind devel cluster.
./hack/kind-load-image.sh ${KIND_CLUSTER_NAME} ${BPFMAN_OPERATOR_IMG} ${BPFMAN_AGENT_IMG} ${BPFMAN_IMG}

.PHONY: bundle-build
bundle-build: ## Build the bundle image.
Expand Down

0 comments on commit 6729ecd

Please sign in to comment.