-
Notifications
You must be signed in to change notification settings - Fork 526
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
LimitRange default field missing #855
Comments
This is happening because I agree that it is subtle and confusing to an end-user, we should add this to a 'gotchas' section of the documentation. It may be possible to fix this in the upstream code generator (https://github.com/OpenAPITools/openapi-generator) but I'm not sure if it is worth the effort, especially given that we are in the (slow) process of switching generators. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs 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 and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
/lifecycle freeze |
When creating a LimitRange I found out that this wouldn't work as expected
In fact the resource was deployed in the cluster without the field "default"
Digging the source code I managed to track the issue to this file
The solution for me was to replace "deafult" with "_default" as follows:
If not possible to use the expected field name I think we should make it clear in the documentation for clarity sake
The text was updated successfully, but these errors were encountered: