From ecde54b8d8d432363ebd5c821b3ad591b4a34202 Mon Sep 17 00:00:00 2001 From: zyc <1439655764@qq.com> Date: Thu, 19 Mar 2026 14:50:05 +0800 Subject: [PATCH] Upgrade kubectl to v1.34.1 for EC certificate compatibility K3s uses elliptic curve certificates which older kubectl versions cannot parse. Co-Authored-By: Claude Opus 4.6 (1M context) --- .gitea/workflows/deploy.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index fdf43cb..916593c 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -49,8 +49,8 @@ jobs: - name: Setup Kubectl run: | - curl -LO "https://dl.k8s.io/release/v1.28.2/bin/linux/amd64/kubectl" || \ - curl -LO "https://cdn.dl.k8s.io/release/v1.28.2/bin/linux/amd64/kubectl" + curl -LO "https://dl.k8s.io/release/v1.34.1/bin/linux/amd64/kubectl" || \ + curl -LO "https://cdn.dl.k8s.io/release/v1.34.1/bin/linux/amd64/kubectl" chmod +x kubectl mv kubectl /usr/local/bin/