diff --git a/cmd/helm/root.go b/cmd/helm/root.go index ea0654c4b..1cee11458 100644 --- a/cmd/helm/root.go +++ b/cmd/helm/root.go @@ -416,7 +416,7 @@ func newRootCmd(actionConfig *action.Configuration, out io.Writer, args []string registryClient, err := registry.NewClient( registry.ClientOptDebug(settings.Debug), registry.ClientOptWriter(out), - registry.ClientOptCredentialsFile(settings.RepositoryConfig), + registry.ClientOptCredentialsFile(settings.RegistryConfig), ) if err != nil { // TODO: don't panic here, refactor newRootCmd to return error