✨ (crd): Add +kubebuilder:skip:description markers to omit package and spec descriptions - #1384
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: camilamacedo86 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
1b189cb to
3330b6f
Compare
… package descriptions
3330b6f to
e2d6fdb
Compare
|
Should this also work at the field level, or is it intentionally package/spec-scoped only? Worth documenting that scope explicitly in the marker definition so users don't go hunting. |
Thank you for looking on this one. Please, feel free to let me know if the PR description does not clarifies this one. |
Got it, thanks for clarifying! Checked the examples in the description - the field-level scope is clear from there. Makes sense as-is then. 👍 |
|
LGTM 👍🏻 |
|
Hi @sbueringer @JoelSpeed @alvaroaleman This one has LGTM from community members, wdyt? |
This adds two new markers to reduce CRD size when types have extensive documentation:
Useful when CRDs exceed size limits due to extensive godoc comments on deeply nested types.
Closes: #441