-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please support apiextensions.k8s.io/v1 api version for CRDs #5473
Comments
This issue prevents the use of IngressRoute CRDs on Kubernetes 1.16 as there are no examples for the CRD definitions with the |
@msnelling That's not true. I'm using them on 1.16 and they work. Examples (without openAPIV3Schema) are in the docs and they still work in 1.16 |
@AndrewSav Really? I have just tried this on a fresh MicroK8s snap install on Ubuntu 18.04 with the following CRD.
I get the following error...
Version
|
@msnelling, well this what this github issue is about, they don't work in |
Beyond the compatibility with the new version, it would be quite nice to have the openAPISchemas on the CRDs, so you can quickly |
Kubernetes 1.19 is slated to be out on 25th of August. This is the version that was going to remove |
This comment has been minimized.
This comment has been minimized.
... and to (hopefully) get support for the CRDs in the IntelliJ Kubernetes plugin! |
This comment has been minimized.
This comment has been minimized.
This is my work in progress (manual) on this: https://gist.github.com/james-d-elliott/c3323ab66df3f09150b7538a8a8a8aca Is anyone working on this? Or are there plans to automate it? If not I may do a PR with just the changes, including documenting some of the structs in pkg/provider/kubernetes/crd according to other struct tags found throughout the repo. Additionally I'm running this in my cluster currently, however I only really use the Middleware and IngressRoute types. |
Hello @james-d-elliott, We have started to work on it. |
Do you want to request a feature or report a bug?
Feature
What did you expect to see?
Kubernetes 1.16 is now out and with it CRDs graduated to GA. The new api version which is now
apiextensions.k8s.io/v1
as opposed to the older oneapiextensions.k8s.io/v1beta1
is designed to support multiple versions of CRDs and added migration support between CRD versions. To this end it requires CRD openAPIV3Schema schema to be defined in the CRD, which was not a requirement forv1beta1
.All the examples of CRD given in traefik documentation are written for
v1beta1
and as such do not include the schema.This makes it impossible to use them with
apiextensions.k8s.io/v1
. Sinceapiextensions.k8s.io/v1beta1
is going to be removed in 1.19 it is extremely desirable, thatapiextensions.k8s.io/v1
is supported.This is a request to make that happen.
The text was updated successfully, but these errors were encountered: