manifest: reduce CRD size by removing some descriptions #13793
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
All credits to the original PR authored by @BlaineEXE : #13779
Reduce CRD size by removing some descriptions for things that:
Remove the
Status
field fromVolumeClaimTemplates
(a.k.a.PVCs
) intypes.go
to remove all unnecessary status-related fields.Use
yq
to go through generatedcrds.yaml
to strip out descriptions for well-known k8s types that are long and repeated where we can't remove them from types.go. This is mostly placement descriptions and volumeSource descriptions.The overall
crds.yaml
file is reduced to less than 60% of its original size.Manual upgrade testing:
New image is upgraded correctly, and cluster is healthy after the upgrade:
Issue resolved by this Pull Request:
Resolves #
#13765
Checklist: