Open
Description
As part of #11733, we have configured KAL, that kube-api-linter to run against the APIs within this repository.
There are a number of linter rules that need to be reviewed and enabled 1 by 1.
This issue is to track the implementation of enabling each of these linters
TODO
- conditions - 🌱 Enable the conditions rule from KAL #11847
- commentstart -
- integers - 🌱 Enable integers lint of KAL #11887
- jsontags - 🌱 Enable jsontags lint of KAL #11890
- maxlength -
- Enable the linter 🌱 enable maxlength linter #11906
- Enable MaxItems ⚠️ Add MaxItems markers to API fields #11934
- Enable MaxLength ⚠️ Add MaxLength & MinLength markers #11949
- nobools - 🌱 Enable nobools linter #11911
- nofloats - 🌱 Enable nofloats linter #11910
- optionalorrequired
- Enable the linter 🌱 Enable optionalorrequired linter #11909
- Follow-up for Items fields (exclude "field Items must be marked as optional or required")
- requiredfields - 🌱 Enable requiredfields linter #11908
- statussubresource - 🌱 Enable statussubresource linter #11907
Not doing
NoPhase
Per discussion in July 2024, we are keeping phase fields for now.
See #10897 (comment) and #10897 (comment) for the context on why we are still keeping phases.
Metadata
Metadata
Labels
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Categorizes issue or PR as related to adding, removing, or otherwise changing an APIMust be staffed and worked on either currently, or very soon, ideally in time for the next release.Indicates an issue or PR is ready to be actively worked on.