Skip to content

Commit cf47583

Browse files
Mikalai Radchukncdc
authored andcommitted
Fixes kind cluster cleanup in e2e make target
Currently we have `kind-cluster-cleanup` as a dependency in `kind-cluster` target. Since `make` only builds a target once this means that `e2e` target performs cleanup before creating a new cluster and skips cleanup at the end leaving cluster hanging around. With this change, `make e2e` will be failing on cluster creation, if a cluster with the same name already exists, but the failure message will clearly indicate the issue. Signed-off-by: Mikalai Radchuk <[email protected]>
1 parent 669c451 commit cf47583

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ e2e-coverage:
116116
kind-load: $(KIND) ## Loads the currently constructed image onto the cluster
117117
$(KIND) load docker-image $(IMG) --name $(KIND_CLUSTER_NAME)
118118

119-
kind-cluster: $(KIND) kind-cluster-cleanup ## Standup a kind cluster
119+
kind-cluster: $(KIND) ## Standup a kind cluster
120120
$(KIND) create cluster --name ${KIND_CLUSTER_NAME}
121121
$(KIND) export kubeconfig --name ${KIND_CLUSTER_NAME}
122122

0 commit comments

Comments
 (0)