Readded resolver OCI logic

Signed-off-by: Andrew Block <andy.block@gmail.com>
pull/10527/head
Andrew Block 3 years ago
parent 291c17fcc5
commit 828941b273
No known key found for this signature in database
GPG Key ID: 02DFE631AEF35EBC

@ -143,8 +143,8 @@ func (r *Resolver) Resolve(reqs []*chart.Dependency, repoNames map[string]string
}
// Retrieve list of tags for repository
tags, err := r.registryClient.Tags(d.Repository)
if err != nil {
ref := fmt.Sprintf("%s/%s", strings.TrimPrefix(d.Repository, fmt.Sprintf("%s://", registry.OCIScheme)), d.Name)
tags, err := r.registryClient.Tags(ref) if err != nil {
return nil, errors.Wrapf(err, "could not retrieve list of tags for repository %s", d.Repository)
}

Loading…
Cancel
Save