• Kubernetes Submit Queue's avatar
    Merge pull request #29601 from caesarxuchao/check-list · d3f36756
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    Validate list objects when building scheme
    
    The first commit is #29468. This PR is a followup.
    
    Modified the description of **List** in api-convention.md to:
    `The name of a list kind must end with "List". Lists have a limited set of common metadata. All lists use the required "items" field to contain the array of objects they return. Any kind that has the "items" field must be a list kind.`
    
    Also added code to enforce the above rules during scheme registration.
    
    @kubernetes/sig-api-machinery @bgrant0607 @erictune @lavalamp @smarterclayton 
    d3f36756
Name
Last commit
Last update
..
admin Loading commit data...
api-reference Loading commit data...
design Loading commit data...
devel Loading commit data...
getting-started-guides Loading commit data...
images Loading commit data...
man/man1 Loading commit data...
proposals Loading commit data...
user-guide Loading commit data...
yaml/kubectl Loading commit data...
OWNERS Loading commit data...
README.md Loading commit data...
api.md Loading commit data...
reporting-security-issues.md Loading commit data...
roadmap.md Loading commit data...
troubleshooting.md Loading commit data...
warning.png Loading commit data...
whatisk8s.md Loading commit data...