From dbf4178ee730fd37f2dd468e3768271a47e5266b Mon Sep 17 00:00:00 2001 From: Paul Abel <128620221+pdabelf5@users.noreply.github.com> Date: Mon, 15 Jan 2024 16:35:10 +0000 Subject: [PATCH] correct kind version from Dockerfile (#4922) --- tests/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Makefile b/tests/Makefile index b1c36bc83a..3d01992835 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -16,7 +16,7 @@ TEST_TAG ?= latest ## The Tag to use for the test image. e.g. co PREFIX ?= nginx/nginx-ingress ## The name of the image. For example, nginx/nginx-ingress TAG ?= edge ## The tag of the image. For example, edge K8S_CLUSTER_NAME ?= local ## The name used when creating/using a Kind Kubernetes cluster -K8S_CLUSTER_VERSION ?= $(shell grep -m1 'FROM kindest/node' < ${DOCKERFILEPATH} | cut -d ':' -f 2 | sed -e 's/^v//') ## The version used when creating a Kind Kubernetes cluster +K8S_CLUSTER_VERSION ?= $(shell grep -m1 'FROM kindest/node' < ${DOCKERFILEPATH} | cut -d ':' -f 2 | sed -e 's/^v//' | cut -d '@' -f 1) ## The version used when creating a Kind Kubernetes cluster K8S_TIMEOUT ?= 75s ## The timeout used when creating a Kind Kubernetes cluster AD_SECRET ?= PYTEST_ARGS ?=