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

CRD schema type for x-kubernetes-embedded-resource should be object #156

Closed
alexmg opened this issue Feb 22, 2021 · 2 comments · Fixed by #157
Closed

CRD schema type for x-kubernetes-embedded-resource should be object #156

alexmg opened this issue Feb 22, 2021 · 2 comments · Fixed by #157

Comments

@alexmg
Copy link
Contributor

alexmg commented Feb 22, 2021

Properties marked as x-kubernetes-embedded-resource must have a schema type of object.

https://github.com/kubernetes/kubernetes/blob/master/staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/validation.go#L113

The CRD generator is not including the type property with a value of object resulting in failures when submitting CRDs with embedded resources.

@github-actions
Copy link

🎉 This issue has been resolved in version 3.1.0-prerelease.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions
Copy link

🎉 This issue has been resolved in version 3.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

1 participant