kubesphere / ks-installer

Install KubeSphere on existing Kubernetes cluster
https://kubesphere.io
Apache License 2.0
524 stars 742 forks source link

Removed apis still exits in latest code #1691

Open zryfish opened 2 years ago

zryfish commented 2 years ago

Per https://kubernetes.io/blog/2021/07/14/upcoming-changes-in-kubernetes-1-22/, there are lots of apis will be removed, include

admissionregistration.k8s.io/v1beta1
apiextensions.k8s.io/v1beta1
apiregistration.k8s.io/v1beta1
authentication.k8s.io/v1beta1
authorization.k8s.io/v1beta1
certificates.k8s.io/v1beta1
coordination.k8s.io/v1beta1
extensions/v1beta1
networking.k8s.io/v1beta1

Which I still found in our code base.

./roles/ks-monitor/files/notification-manager/templates/validating.yaml:apiVersion: admissionregistration.k8s.io/v1beta1
./roles/ks-monitor/files/federated/federatednamespaces.yaml:apiVersion: apiextensions.k8s.io/v1beta1
./roles/common/files/minio-ha/templates/_helpers.tpl:{{- print "extensions/v1beta1" -}}
./roles/common/files/minio-ha/templates/_helpers.tpl:{{- print "extensions/v1beta1" -}}
./roles/ks-core/ks-core/files/ks-core/templates/sample-bookinfo-configmap.yaml:    apiVersion: extensions/v1beta1
./roles/common/files/minio-ha/templates/_helpers.tpl:{{- print "networking.k8s.io/v1beta1" -}}

/priority critical-urgent /kind bug

pixiake commented 2 years ago

Error: failed to install CRD crds/devops.kubesphere.io_s2ibuilders.yaml: unable to recognize \"\": no matches for kind \"CustomResourceDefinition\" in version \"apiextensions.k8s.io/v1beta1

@LinuxSuRen @JohnNiang

pixiake commented 2 years ago

Error: failed to install CRD crds/cluster_objectsync_v1alpha1.yaml: unable to recognize \"\": no matches for kind \"CustomResourceDefinition\" in version \"apiextensions.k8s.io/v1beta1\"

@zhu733756

JohnNiang commented 2 years ago

Error: failed to install CRD crds/devops.kubesphere.io_s2ibuilders.yaml: unable to recognize "": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1

@LinuxSuRen @JohnNiang

Please follow up https://github.com/kubesphere-sigs/ks-devops-helm-chart/issues/3

JohnNiang commented 2 years ago

I will reopen this issue because there is still a problem related to DevOps. /reopen

ks-ci-bot commented 2 years ago

@JohnNiang: Reopened this issue.

In response to [this](https://github.com/kubesphere/ks-installer/issues/1691#issuecomment-927009206): >I will reopen this issue because there is still a problem related to DevOps. >/reopen Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
zhu733756 commented 2 years ago

Error: failed to install CRD crds/cluster_objectsync_v1alpha1.yaml: unable to recognize "": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"

@zhu733756

Shall we need to support kubeedge v1 before v3.2 published? This pr https://github.com/kubeedge/kubeedge/pull/3208 merged. Related issue https://github.com/kubeedge/kubeedge/issues/3093.