diff --git a/tests/crd-controller/run-tests.sh b/tests/crd-controller/run-tests.sh index 4ac2ab0c6..070b85643 100755 --- a/tests/crd-controller/run-tests.sh +++ b/tests/crd-controller/run-tests.sh @@ -43,7 +43,7 @@ create_kind_cluster() { docker cp kubectl e2e:/usr/local/bin/kubectl - if [[ ${kubernetesVersion:?} == "v.15.0" ]] + if [[ $K8S_VERSION == "v.15.0" ]] then kind_config="kind-config-1.15.yaml" else