-
Notifications
You must be signed in to change notification settings - Fork 209
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
OpenAPI Gen should fail for invalid x-kubernetes-map-type/keys/etc combinations #343
Comments
/wg api-expression |
until we have automated scanning, have we checked manually that there are no other in-tree examples of this issue (in less popular types than podspec maybe no one tried to embed into a CRD)? |
Hey @apelisse, I didn't understand what this issue this. Can you please guide me? |
The behavior of the annotations, like |
Hey @apelisse, Sorry for the late response. The |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
See kubernetes/kubernetes#114585,
We've been able to generate a bogus OpenAPI with
x-kubernetes-list-type=set
for a list of non-atomic maps. And we haven't been able to detect that until after the type was released and people were trying to re-import that type and create CRDs for it. We should detect these errors as early as possible, ideally while generating the OpenAPI for these types.The text was updated successfully, but these errors were encountered: