|
|
@ -56,8 +56,8 @@ type Manager struct {
|
|
|
|
Keyring string
|
|
|
|
Keyring string
|
|
|
|
// SkipUpdate indicates that the repository should not be updated first.
|
|
|
|
// SkipUpdate indicates that the repository should not be updated first.
|
|
|
|
SkipUpdate bool
|
|
|
|
SkipUpdate bool
|
|
|
|
// FileOnly indicates that only file:// charts should be updated
|
|
|
|
// FileOnly indicates that only file:// charts should be updated
|
|
|
|
FileOnly bool
|
|
|
|
FileOnly bool
|
|
|
|
// Getter collection for the operation
|
|
|
|
// Getter collection for the operation
|
|
|
|
Getters []getter.Provider
|
|
|
|
Getters []getter.Provider
|
|
|
|
RepositoryConfig string
|
|
|
|
RepositoryConfig string
|
|
|
@ -280,9 +280,9 @@ func (m *Manager) downloadAll(deps []*chart.Dependency) error {
|
|
|
|
dep.Version = ver
|
|
|
|
dep.Version = ver
|
|
|
|
continue
|
|
|
|
continue
|
|
|
|
} else if m.FileOnly {
|
|
|
|
} else if m.FileOnly {
|
|
|
|
fmt.Fprintf(m.Out, "Updating file:// dependencies only - skip %s from repo %s\n", dep.Name, dep.Repository)
|
|
|
|
fmt.Fprintf(m.Out, "Updating file:// dependencies only - skip %s from repo %s\n", dep.Name, dep.Repository)
|
|
|
|
continue
|
|
|
|
continue
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Any failure to resolve/download a chart should fail:
|
|
|
|
// Any failure to resolve/download a chart should fail:
|
|
|
|
// https://github.com/helm/helm/issues/1439
|
|
|
|
// https://github.com/helm/helm/issues/1439
|
|
|
|