-
Notifications
You must be signed in to change notification settings - Fork 487
Closed
Description
/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 v1: CustomResourceColumnDefinition JSONPath should be serialized as "jsonPath" kubernetes/kubernetes#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
):