Skip to content

Commit

Permalink
chore: use direct mode to import images in k3d (#5770)
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
  • Loading branch information
jakubdyszkiewicz committed Jan 19, 2023
1 parent 7f26930 commit c9f6a64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mk/k3d.mk
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ k3d/stop/all:
.PHONY: k3d/load/images
k3d/load/images:
# https://github.com/k3d-io/k3d/issues/900 can cause failures that simple retry will fix
@$(K3D_BIN) image import $(KUMA_IMAGES) --cluster=$(KIND_CLUSTER_NAME) --verbose || $(K3D_BIN) image import $(KUMA_IMAGES) --cluster=$(KIND_CLUSTER_NAME) --verbose
for i in {1..5}; do $(K3D_BIN) image import --mode=direct $(KUMA_IMAGES) --cluster=$(KIND_CLUSTER_NAME) --verbose && s=0 && break || s=$$? && echo "Image import failed. Retrying..."; done; (exit $$s)

.PHONY: k3d/load
k3d/load:
Expand Down

0 comments on commit c9f6a64

Please sign in to comment.