Merge pull request #5527 from adamreese/v3/capabilites-external-only

fix(pkg/chartutil): only include external objects in capabilities
pull/5529/head
Adam Reese 5 years ago committed by GitHub
commit 5f9ff4cdae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -74,8 +74,8 @@ func (v VersionSet) Has(apiVersion string) bool {
func allKnownVersions() VersionSet {
vs := make(VersionSet)
for gvk := range scheme.Scheme.AllKnownTypes() {
vs[gvk.GroupVersion().String()] = struct{}{}
for _, gv := range scheme.Scheme.PrioritizedVersionsAllGroups() {
vs[gv.String()] = struct{}{}
}
return vs
}

Loading…
Cancel
Save