Revert "It appears we never got to this block below. Quick rec by Farina. Untested if necessary"

This reverts commit f616a01808da3428c6191e5196f32ca72eb22254.

Removing for now until we know we need it.

Signed-off-by: Scott Rigby <scott@r6by.com>
pull/10527/head
Scott Rigby 3 years ago
parent 3dc9930488
commit 39792b5ad0
No known key found for this signature in database
GPG Key ID: C7C6FBB5B91C1155

@ -578,7 +578,8 @@ func (m *Manager) resolveRepoNames(deps []*chart.Dependency) (map[string]string,
missing := []string{}
for _, dd := range deps {
// Don't map the repository, we don't need to download chart from charts directory
if dd.Repository == "" {
// When OCI is used there is no Helm repository
if dd.Repository == "" || registry.IsOCI(dd.Repository) {
continue
}
// if dep chart is from local path, verify the path is valid
@ -594,8 +595,6 @@ func (m *Manager) resolveRepoNames(deps []*chart.Dependency) (map[string]string,
continue
}
// See https://helm.sh/docs/topics/registries/#specifying-dependencies
// See createTestingMetadataForOCI()
if registry.IsOCI(dd.Repository) {
reposMap[dd.Name] = dd.Repository
continue

Loading…
Cancel
Save