From 0611ae0119efff2a95bb4c0981d56f6fb93e91e1 Mon Sep 17 00:00:00 2001 From: Julian Vollmer Date: Mon, 26 Jan 2026 17:32:32 +0100 Subject: [PATCH] pipeline #9 --- .gitea/workflows/deploy.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 6856b50..c0f441d 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -143,6 +143,16 @@ jobs: echo "📁 kubeconfig created at ~/.kube/config" chmod 600 ~/.kube/config + # Debug kubeconfig content (without sensitive data) + echo "🔍 Debugging kubeconfig structure..." + echo "File size: $(wc -c < ~/.kube/config) bytes" + + echo "Current context:" + kubectl config current-context || echo "❌ No current context set" + + echo "Available contexts:" + kubectl config get-contexts || echo "❌ No contexts available" + # Fix TLS issues by adding insecure-skip-tls-verify to all clusters echo "🔧 Fixing TLS verification for self-signed certificates..." @@ -372,6 +382,16 @@ jobs: echo "📁 kubeconfig created at ~/.kube/config" chmod 600 ~/.kube/config + # Debug kubeconfig content (without sensitive data) + echo "🔍 Debugging kubeconfig structure..." + echo "File size: $(wc -c < ~/.kube/config) bytes" + + echo "Current context:" + kubectl config current-context || echo "❌ No current context set" + + echo "Available contexts:" + kubectl config get-contexts || echo "❌ No contexts available" + # Fix TLS issues by adding insecure-skip-tls-verify to all clusters echo "🔧 Fixing TLS verification for self-signed certificates..."