Update deprecated api apiextensions.k8s.io/v1beta1
See original GitHub issue/kind bug
What steps did you take and what happened: [A clear and concise description of what the bug is.] Update deprecated api group apiextensions.k8s.io/v1beta1 - code.
https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.16.md#deprecations-and-removals The apiextensions.k8s.io/v1beta1 version of CustomResourceDefinition is deprecated and will no longer be served in v1.19. Use apiextensions.k8s.io/v1 instead. (#79604, @liggitt)
The
CustomResourceDefinition
API type is promoted toapiextensions.k8s.io/v1
with the following changes:
- Use of the new
default
feature in validation schemas is limited to v1spec.scope
is no longer defaulted toNamespaced
and must be explicitly specifiedspec.version
is removed; usespec.versions
insteadspec.validation
is removed; usespec.versions[*].schema
insteadspec.subresources
is removed; usespec.versions[*].subresources
insteadspec.additionalPrinterColumns
is removed; usespec.versions[*].additionalPrinterColumns
insteadspec.conversion.webhookClientConfig
is moved tospec.conversion.webhook.clientConfig
spec.conversion.conversionReviewVersions
is moved tospec.conversion.webhook.conversionReviewVersions
spec.versions[*].schema.openAPIV3Schema
is now required when creating v1 CustomResourceDefinitionsspec.preserveUnknownFields: true
is disallowed when creating v1 CustomResourceDefinitions; it must be specified within schema definitions asx-kubernetes-preserve-unknown-fields: true
- In
additionalPrinterColumns
items, theJSONPath
field was renamed tojsonPath
(fixes https://github.com/kubernetes/kubernetes/issues/66531) Theapiextensions.k8s.io/v1beta1
version ofCustomResourceDefinition
is deprecated and will no longer be served in v1.19.
What did you expect to happen:
Anything else you would like to add: [Miscellaneous information that will assist in solving the issue.]
Environment:
- Kubeflow version (
kfctl version
): - Minikube version (
minikube version
): - Kubernetes version: (use
kubectl version
): - OS (e.g. from
/etc/os-release
):
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Deprecated API Migration Guide - Kubernetes
The apiextensions.k8s.io/v1beta1 API version of CustomResourceDefinition is no longer served as of v1.22. Migrate manifests and API clients ...
Read more >Kubernetes 1.22 deprecated APIs - Google Cloud
The Beta API version of CustomResourceDefinition is no longer served as of version 1.22. Migrate manifests and API clients to use the apiextensions.k8s.io/v1 ......
Read more >API deprecation in Kubernetes 1.22 that will impact your ...
The fastest check is to grep your codebase and metadata for all usage of “apiextensions.k8s.io/v1beta1” and verify the above APIs aren't ...
Read more >Will That Kubernetes v1.22 Upgrade Break My Application?
For example, the networking.k8s.io/v1beta1 API was deprecated in Kubernetes v1.19 and removed in Kubernetes v1.22; Its new stable ...
Read more >Update CRDs from v1beta1 - Certified Operator Build Guide
Update CRDs from v1beta1 ... Please refer to this blog post which also covers API deprecation and required ... apiVersion: apiextensions.k8s.io/v1beta1.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Issue-Label Bot is automatically applying the labels:
Please mark this comment with 👍 or 👎 to give our bot feedback! Links: app homepage, dashboard and code for this bot.
We have some problems with v1