-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Apply KEP: Document toplogy #1320
Conversation
88ec826
to
1eb21ca
Compare
1eb21ca
to
61f326f
Compare
/lgtm |
`"x-kubenetes-list-type": "map"` along with `// | ||
+x-kubernetes-list-map-key=name`, or `"listMapKey": "name"`. Items | ||
of an associative lists are owned by the person who applied the item to the | ||
list. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We've left out "lists where the index is a reasonable key" -- I think we'll eventually want this, but not right now. (not asking for a change)
but can be explicitly specified with `// +mapType=separate` or `// | ||
+structType=separate` respectively. They map to the same openapi extension: | ||
`x-kubernetes-map-type=separate`. | ||
- All the fields or item of the map are treated as one, we say the map/struct is |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: s/as one/as one unit/
/approve (one tiny nit, anyone can lgtm once fixed) |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: apelisse, kwiesmueller, lavalamp The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Improve KEP by adding topology description
/cc @kwiesmueller @jennybuckley @lavalamp