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 ?=