kubesphere / ks-devops

This is a cloud-native application that focuses on the DevOps area.
https://kubesphere.io/devops/
Apache License 2.0
159 stars 89 forks source link

Use wrong cronjob apiversion when k8s version is larger than 1.25 #998

Closed chilianyi closed 1 year ago

chilianyi commented 1 year ago

What is version of KubeSphere DevOps has the issue?

v3.4.0

How did you install the Kubernetes? Or what is the Kubernetes distribution?

kubekey

What happened?

https://ask.kubesphere.io/forum/d/22671-awsde-eskqi-yong-cha-jian-kubesphere-devopsyi-chang-namespaces-kubesphere-devops-worker-not-found/15

User use eks in aws, k8s version is 1.26

Install devops failed

error log is :

Error: unable to build kubernetes objects from release manifest: resource mapping not found for name: "devops" namespace: "" from "": no matches for kind "CronJob" in version "batch/v1beta1"

Relevant log output

No response

Additional information

No response

zjpjly commented 1 year ago

/close