Skip to content
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

Kubernetes apiVersion of extensions is not supoported #58

Closed
tdabasinskas opened this issue Apr 1, 2018 · 4 comments · Fixed by #108
Closed

Kubernetes apiVersion of extensions is not supoported #58

tdabasinskas opened this issue Apr 1, 2018 · 4 comments · Fixed by #108

Comments

@tdabasinskas
Copy link

tdabasinskas commented Apr 1, 2018

It seems that the following YAML file for a cert-manager configuration is not supported (getting Value is not accepted. Valid values: "v1"):

apiVersion: certmanager.k8s.io/v1alpha1
kind: Certificate
...

It also seems to be the case with other extension versions, e.g. certificates./v1beta1 and extensions/v1beta1.

@thearrow
Copy link

Running into the same thing on Kubernetes Ingress resources:

apiVersion: extensions/v1beta1
kind: Ingress
[...]

Value is not accepted. Valid values: "v1beta1".

@mattayes
Copy link

Running into the same issues with Ingress as well.

@litaxc
Copy link

litaxc commented Nov 18, 2018

Same kind of issue here:

apiVersion: apps/v1
kind: Deployment

Is there any way to fix this? I am willing to contribute.

@JPinkney
Copy link
Contributor

I'm writing a python script that should fix the generation of that portion of the schema. I didn't write the original schema and the creators of the schema used a weird formatting that can't be correctly parsed. Hopefully, I can get it working for the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants