-
Notifications
You must be signed in to change notification settings - Fork 63
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
Document how to use list-type and list-keys in a CRD, including in existing clusters. #115
Comments
I have done or plan on doing:
|
(as discussed on #wg-apply) |
I just found some documentation for this here: https://github.com/kubernetes/kube-openapi/blob/master/pkg/idl/doc.go I have no memory of writing this, but sure. Also I don't think |
https://github.com/kubernetes/kube-openapi/blob/master/pkg/generators/extension.go#L38-L57 This is probably doing most of the work, so updating this should be straightforward. |
Thanks for the links @apelisse 👌 I'm starting with kube-openapi support and will move on to kubebuilder after (will update with issue refs shortly) |
That sounds like a great plan! Thanks! |
Support for |
...and support for |
Thanks @mariantalla I'll update my comment |
WIP PR to api-conventions: kubernetes/community#4218 |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/lifecycle frozen |
I'm told that 1.16 supports interpreting a CRD which has
x-kubernetes-list-map-type
andx-kubernetes-list-map-keys
properties.Please document somewhere an example of a CRD that uses these, so the syntax is clear.
Please also document what happens if I have an already-installed CRD with existing CR state, and I am already using SSA, and I update a property of my CRD from not having
x-kubernetes-list-*
annotations to having them. That is, what happens if an existing user adopts this nice new feature? Does it DTRT or explode?For existing CRs that have been applied before. That haven't? For new CRs?
@apelisse we just discussed this.
The text was updated successfully, but these errors were encountered: