This discussion has been open for a long time, and at the same time I have
received some feedback from GitHub[1], I think it’s time to come to a
conclusion.
I will submit a PR to update the apiversion of CRD to v1 and drop support
for v1beta1 version.


[1]: https://github.com/apache/apisix-ingress-controller/issues/653

Chao Zhang <zchao1...@gmail.com> 于2021年8月27日周五 下午4:28写道:

> If we drop the support of apiextensions.k8s.io/v1beta1, we should re-claim
> that the lowest supported Kubernetes version is 1.16.
> <http://apiextensions.k8s.io/v1beta1>
> If I am correct, currently the lowest version we stated is 1.15, I think
> it’s
> OK to increase it since now Kubernetes/1.22 was released.
> Chao Zhang
> https://github.com/tokers
>
> On August 27, 2021 at 15:52:24, Jintao Zhang (zhangjin...@apache.org)
> wrote:
>
> ## background
>
> The `apiextensions.k8s.io/v1beta1` <http://apiextensions.k8s.io/v1beta1>
> API version of CustomResourceDefinition
> is no longer served as of v1.22.
> ref:
>
> https://kubernetes.io/docs/reference/using-api/deprecation-guide/#customresourcedefinition-v122
>
> And the `apiextensions.k8s.io/v1` <http://apiextensions.k8s.io/v1> API
> version, available since v1.16.
>
> * All existing persisted objects are accessible via the new API
> * Notable changes:
> * `spec.scope` is no longer defaulted to `Namespaced` and must be
> explicitly specified
> * `spec.version` is removed in v1; use `spec.versions` instead
> * `spec.validation` is removed in v1; use `spec.versions[*].schema` instead
> * `spec.subresources` is removed in v1; use `spec.versions[*].subresources`
> instead
> * `spec.additionalPrinterColumns` is removed in v1; use
> `spec.versions[*].additionalPrinterColumns` instead
> * `spec.conversion.webhookClientConfig` is moved to
> `spec.conversion.webhook.clientConfig` in v1
> * `spec.conversion.conversionReviewVersions` is moved to
> `spec.conversion.webhook.conversionReviewVersions` in v1
> * `spec.versions[*].schema.openAPIV3Schema` is now required when creating
> v1 CustomResourceDefinition objects, and must be a [structural
>
> schema](/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#specifying-a-structural-schema)
>
> * `spec.preserveUnknownFields: true` is disallowed when creating v1
> CustomResourceDefinition objects; it must be specified within schema
> definitions as `x-kubernetes-preserve-unknown-fields: true`
> * In `additionalPrinterColumns` items, the `JSONPath` field was renamed to
> `jsonPath` in v1 (fixes [#66531](
> https://github.com/kubernetes/kubernetes/issues/66531))
>
>
> Should we drop the `apiextensions.k8s.io/v1beta1`
> <http://apiextensions.k8s.io/v1beta1> API version support?
>

Reply via email to