kubesphere / kubekey

Install Kubernetes/K3s only, both Kubernetes/K3s and KubeSphere, and related cloud-native add-ons, it supports all-in-one, multi-node, and HA 🔥 ⎈ 🐳
https://kubesphere.io
Apache License 2.0
2.38k stars 554 forks source link

upgrade cluster-api error #2428

Open PungYoung opened 1 month ago

PungYoung commented 1 month ago

What is version of KubeKey has the issue?

v3.1.6

What is your os environment?

ubuntu 20.04

KubeKey config file

No response

A clear and concise description of what happend.

Error executing:

clusterctl upgrade apply --infrastructure kubekey:v3.1.6

Relevant log output

Using override="cert-manager.yaml" provider="cert-manager" version="v1.16.0"
Checking if cert-manager needs upgrade...
Deleting cert-manager version="v1.16.0"
Installing cert-manager version="v1.16.0"
Waiting for cert-manager to be available...
Performing upgrade...
Error: failed to read "metadata.yaml" from the repository for provider "infrastructure-kubekey": failed to download files from GitHub release v4.0.0-alpha.5: failed to get file "metadata.yaml" from "v4.0.0-alpha.5" release

Additional information

clusterctl version
clusterctl version: &version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.4", GitCommit:"3cce0d973682f11ab0f0ba1c2522eba66dac2d91", GitTreeState:"clean", BuildDate:"2024-10-08T15:37:26Z", GoVersion:"go1.22.7", Compiler:"gc", Platform:"linux/amd64"}
PungYoung commented 1 month ago

Why is the minor 0 in the https://github.com/kubesphere/kubekey/releases/download/v3.1.6/metadata.yaml file not minor 1?