File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -203,11 +203,10 @@ kind-load: docker-build kind ## Build and upload docker image to the local Kind
203203.PHONY : kind-create
204204kind-create : kind yq # # Create kubernetes cluster using Kind.
205205 @if ! $(KIND ) get clusters | grep -q $(KIND_CLUSTER_NAME ) ; then \
206- $(KIND ) create cluster --name $(KIND_CLUSTER_NAME ) --image kindest/node:$(K8S_VERSION ) ; \
207- fi
208- @if ! $(CONTAINER_TOOL ) container inspect $$($(KIND ) get nodes) | $(YQ ) e ' .[0].Config.Image' | grep -q $(K8S_VERSION ) ; then \
206+ $(KIND ) create cluster --name $(KIND_CLUSTER_NAME ) --image kindest/node:$(K8S_VERSION ) --config test/e2e/config.yaml; \
207+ elif ! $(CONTAINER_TOOL ) container inspect $$($(KIND ) get nodes --name $(KIND_CLUSTER_NAME ) ) | $(YQ ) e ' .[0].Config.Image' | grep -q $(K8S_VERSION ) ; then \
209208 $(KIND) delete cluster --name $(KIND_CLUSTER_NAME); \
210- $(KIND) create cluster --name $(KIND_CLUSTER_NAME) --image kindest/node:$(K8S_VERSION); \
209+ $(KIND) create cluster --name $(KIND_CLUSTER_NAME) --image kindest/node:$(K8S_VERSION) --config test/e2e/config.yaml ; \
211210 fi
212211
213212.PHONY : kind-delete
Original file line number Diff line number Diff line change 1+ kind : Cluster
2+ apiVersion : kind.x-k8s.io/v1alpha4
3+ networking :
4+ kubeProxyMode : " ipvs"
You can’t perform that action at this time.
0 commit comments