-
Notifications
You must be signed in to change notification settings - Fork 40.6k
docs: add missing docs for x-kubernetes openapi fields #131737
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
base: master
Are you sure you want to change the base?
docs: add missing docs for x-kubernetes openapi fields #131737
Conversation
Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Welcome @Whitea029! |
This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Hi @Whitea029. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
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.
I am new to this stuff, but as per my learning, here is a review:
Some JSON examples have formatting issues (e.g., \n
, inconsistent indentation) — maybe a quick lookup
Annotates an object to further describe its topology. This extension must only be used when type is object and may have 2 possible values: | ||
|
||
- `granular`: These maps are actual maps (key-value pairs) and each fields are independent from each other (they can each be manipulated by separate actors). This is the default behaviour for all maps. | ||
- `atomic`: the list is treated as a single entity, like a scalar. Atomic maps will be entirely replaced when updated. |
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.
- `atomic`: the list is treated as a single entity, like a scalar. Atomic maps will be entirely replaced when updated. | |
- `atomic`: the map is treated as a single entity, like a scalar. Atomic maps will be entirely replaced when updated. |
should be map?
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.
I'm not very familiar with this repository, and the main reference here is https://github.com/kubernetes/kubernetes/blob/fbd474a28611522de1493a90bd2b8e5a74f28058/api/openapi-spec/v3/apis__apiextensions.k8s.io__v1_openapi.json#L703C1-L706C13
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.
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.
LGTM as of now!
Thank you.
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: singh1203, Whitea029 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind documentation
Which issue(s) this PR fixes:
Fixes #131724