Merge pull request #6817 from thomastaylor312/fix/sort_validation

fix(releaseutil): Removes API version checks from kind sorter
pull/6818/head
Taylor Thomas 5 years ago committed by GitHub
commit 5f4b184b4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -129,10 +129,6 @@ func (file *manifestFile) sort(result *result) error {
return errors.Wrapf(err, "YAML parse error on %s", file.path)
}
if entry.Version != "" && !file.apis.Has(entry.Version) {
return errors.Errorf("apiVersion %q in %s is not available", entry.Version, file.path)
}
if !hasAnyAnnotation(entry) {
result.generic = append(result.generic, Manifest{
Name: file.path,

Loading…
Cancel
Save