make sure update will still update repoURL

Signed-off-by: Luke Reed <luke@lreed.net>
pull/10369/head
Luke Reed 4 years ago
parent e3d3a1864a
commit fabe1315f4
No known key found for this signature in database
GPG Key ID: 96AC6BBD6D32F691

@ -231,7 +231,7 @@ func (c *ChartDownloader) ResolveChartVersion(ref, version string) (*url.URL, er
} }
if r != nil && r.Config != nil { if r != nil && r.Config != nil {
if r.Config.URL != "" && c.RepositoryURL == "" { if r.Config.URL != "" {
c.RepositoryURL = r.Config.URL c.RepositoryURL = r.Config.URL
} }
if r.Config.CertFile != "" || r.Config.KeyFile != "" || r.Config.CAFile != "" { if r.Config.CertFile != "" || r.Config.KeyFile != "" || r.Config.CAFile != "" {

Loading…
Cancel
Save