From 24c382d520a03d4d3f2a965ab8607d6ad417c6ba Mon Sep 17 00:00:00 2001 From: Alexis Bruneteau Date: Sat, 31 May 2025 17:23:30 +0200 Subject: [PATCH] debugging --- .gitea/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 36d24f4..77e0e46 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -56,7 +56,7 @@ jobs: - name: Validate kubeconfig run: | - if ! kubectl version --client && kubectl cluster-info; then + if ! kubectl version --client && kubectl cluster-info --kubeconfig ~/.kube/config; then echo "❌ Failed to connect to cluster" exit 1 fi @@ -64,4 +64,4 @@ jobs: - name: Deploy to k3s run: | - kubectl apply -k deploy/k3s/ + kubectl apply -k deploy/k3s/ --kubeconfig ~/.kube/config