|
|
@ -51,6 +51,8 @@ type Manager struct {
|
|
|
|
HelmHome helmpath.Home
|
|
|
|
HelmHome helmpath.Home
|
|
|
|
// Verification indicates whether the chart should be verified.
|
|
|
|
// Verification indicates whether the chart should be verified.
|
|
|
|
Verify VerificationStrategy
|
|
|
|
Verify VerificationStrategy
|
|
|
|
|
|
|
|
// Debug is the global "--debug" flag
|
|
|
|
|
|
|
|
Debug bool
|
|
|
|
// Keyring is the key ring file.
|
|
|
|
// Keyring is the key ring file.
|
|
|
|
Keyring string
|
|
|
|
Keyring string
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -205,7 +207,9 @@ func (m *Manager) downloadAll(deps []*chartutil.Dependency) error {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if strings.HasPrefix(dep.Repository, "file://") {
|
|
|
|
if strings.HasPrefix(dep.Repository, "file://") {
|
|
|
|
|
|
|
|
if m.Debug {
|
|
|
|
fmt.Fprintf(m.Out, "Archiving %s from repo %s\n", dep.Name, dep.Repository)
|
|
|
|
fmt.Fprintf(m.Out, "Archiving %s from repo %s\n", dep.Name, dep.Repository)
|
|
|
|
|
|
|
|
}
|
|
|
|
ver, err := tarFromLocalDir(m.ChartPath, dep.Name, dep.Repository, dep.Version)
|
|
|
|
ver, err := tarFromLocalDir(m.ChartPath, dep.Name, dep.Repository, dep.Version)
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
return err
|
|
|
@ -327,7 +331,9 @@ func (m *Manager) getRepoNames(deps []*chartutil.Dependency) (map[string]string,
|
|
|
|
return nil, err
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if m.Debug {
|
|
|
|
fmt.Fprintf(m.Out, "Repository from local path: %s\n", dd.Repository)
|
|
|
|
fmt.Fprintf(m.Out, "Repository from local path: %s\n", dd.Repository)
|
|
|
|
|
|
|
|
}
|
|
|
|
reposMap[dd.Name] = dd.Repository
|
|
|
|
reposMap[dd.Name] = dd.Repository
|
|
|
|
continue
|
|
|
|
continue
|
|
|
|
}
|
|
|
|
}
|
|
|
|