Skip to content

Commit 55689e8

Browse files
fix: update kind-load target to ensure that works aligned with controller-operator (#462)
Standardizing this method simplifies workflows and makes the project more contributor-friendly
1 parent e3c877c commit 55689e8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,7 @@ kind-cluster-cleanup: $(KIND) ## Delete the kind cluster
215215

216216
.PHONY: kind-load
217217
kind-load: check-cluster $(KIND) ## Load the built images onto the local cluster
218-
$(KIND) export kubeconfig --name $(KIND_CLUSTER_NAME)
219-
$(KIND) load docker-image $(IMAGE) --name $(KIND_CLUSTER_NAME)
218+
docker save $(IMAGE) | $(KIND) load image-archive /dev/stdin --name $(KIND_CLUSTER_NAME)
220219

221220
.PHONY: install
222221
install: check-cluster build-container kind-load deploy wait ## Install local catalogd to an existing cluster

0 commit comments

Comments
 (0)