Skip to content

Fix access to remote Helm repostories #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 29, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion helm.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ import (

"github.com/ghodss/yaml"
"google.golang.org/grpc"
"k8s.io/helm/pkg/getter"
"k8s.io/helm/pkg/helm/environment"
"k8s.io/helm/pkg/downloader"
"k8s.io/helm/pkg/helm/helmpath"
"k8s.io/helm/pkg/strvals"
Expand Down Expand Up @@ -68,6 +70,7 @@ func locateChartPath(name, version string, verify bool, keyring string) (string,
HelmHome: helmpath.Home(homePath()),
Out: os.Stdout,
Keyring: keyring,
Getters: getter.All(environment.EnvSettings{}),
}
if verify {
dl.Verify = downloader.VerifyAlways
Expand All @@ -82,7 +85,7 @@ func locateChartPath(name, version string, verify bool, keyring string) (string,
return lname, nil
}

return filename, fmt.Errorf("file %q not found", name)
return filename, err
}

// Merges source and destination map, preferring values from the source map
Expand Down