From a9d73741b0571747ae2cae06a0f23e2a646386d2 Mon Sep 17 00:00:00 2001 From: Ty Date: Thu, 11 Jan 2024 10:52:32 +0800 Subject: [PATCH] Merge pull request #65 from ty-dc/e2e/kind-node-image e2e fix: The kind image name is wrong. Signed-off-by: ty-dc --- test/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Makefile b/test/Makefile index 412ddf1e64..ba58e0400c 100644 --- a/test/Makefile +++ b/test/Makefile @@ -155,7 +155,7 @@ setup_kind: fi $(QUIET) cat $(CLUSTER_DIR)/$(E2E_CLUSTER_NAME)/kind-config.yaml KIND_OPTION="" ; \ - [ -n "$(E2E_KIND_NODE_IMAGE)" ] && KIND_OPTION=" --image $(E2E_KIND_NODE_IMAGE) " && echo "setup kind with E2E_KIND_NODE_IMAGE=$(E2E_KIND_NODE_IMAGE)"; \ + [ -n "$(E2E_KIND_IMAGE_TAG)" ] && KIND_OPTION=" --image $(E2E_KIND_IMAGE_NAME):$(E2E_KIND_IMAGE_TAG) " && echo "setup kind with $(E2E_KIND_IMAGE_NAME):$(E2E_KIND_IMAGE_TAG)"; \ kind create cluster --config $(CLUSTER_DIR)/$(E2E_CLUSTER_NAME)/kind-config.yaml \ --name $(E2E_CLUSTER_NAME) --kubeconfig $(E2E_KUBECONFIG) $${KIND_OPTION} - kubectl --kubeconfig $(E2E_KUBECONFIG) taint nodes --all node-role.kubernetes.io/master- || true