From c255668f8610f423b13c9ec04cbb1d4edc078ac3 Mon Sep 17 00:00:00 2001 From: Paul Abel Date: Fri, 3 Oct 2025 15:32:02 +0100 Subject: [PATCH 1/2] Update k8s versions for minikube --- tests/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Makefile b/tests/Makefile index d0ed0ccc39..62317c970e 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -123,7 +123,7 @@ run-tests-in-kind: ## Run tests in Kind create-kind-cluster: $(KIND_KUBE_CONFIG_FOLDER) ## Create a Kind K8S cluster @kind create cluster \ --name $(K8S_CLUSTER_NAME) \ - --image=kindest/node:v$(K8S_CLUSTER_VERSION) \ + --image=kindest/node:$(K8S_CLUSTER_VERSION) \ --config=<(sed 's/dual/${IP_FAMILY}/' $(ROOT_DIR)/tests/ci-files/ci-kind-config.yaml) \ --wait $(K8S_TIMEOUT) @kind get kubeconfig --name $(K8S_CLUSTER_NAME) --internal > $(KIND_KUBE_CONFIG_FOLDER)/config @@ -164,7 +164,7 @@ run-tests-in-minikube: ## Run tests in Minikube .PHONY: create-mini-cluster create-mini-cluster: $(MINIKUBE_KUBE_CONFIG_FOLDER) ## Create a Minikube K8S cluster - @minikube start --kubernetes-version=v$(K8S_CLUSTER_VERSION) \ + @minikube start --kubernetes-version=$(K8S_CLUSTER_VERSION) \ && KUBECONFIG=$(MINIKUBE_KUBE_CONFIG_FOLDER)/config minikube update-context \ && KUBECONFIG=$(MINIKUBE_KUBE_CONFIG_FOLDER)/config kubectl config set-cluster minikube --server=https://minikube:8443 From 3e2e730421399191675ae7e64d2280f221428d76 Mon Sep 17 00:00:00 2001 From: Paul Abel Date: Fri, 3 Oct 2025 16:35:05 +0100 Subject: [PATCH 2/2] fix tests --- .github/actions/smoke-tests/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/smoke-tests/action.yaml b/.github/actions/smoke-tests/action.yaml index 8b0ad78447..7da004b804 100644 --- a/.github/actions/smoke-tests/action.yaml +++ b/.github/actions/smoke-tests/action.yaml @@ -52,7 +52,7 @@ runs: - name: Deploy Kubernetes id: k8s run: | - make -f tests/Makefile create-kind-cluster K8S_CLUSTER_NAME=${{ github.run_id }} K8S_CLUSTER_VERSION=${{ inputs.k8s-version }} K8S_TIMEOUT=${{ inputs.k8s-timeout }} + make -f tests/Makefile create-kind-cluster K8S_CLUSTER_NAME=${{ github.run_id }} K8S_CLUSTER_VERSION=v${{ inputs.k8s-version }} K8S_TIMEOUT=${{ inputs.k8s-timeout }} make -f tests/Makefile image-load REGISTRY="" PREFIX=${{ inputs.image-name }} TAG=${{ inputs.tag }} K8S_CLUSTER_NAME=${{ github.run_id }} label="${{ inputs.label }}" nospaces="${label// /_}"