[
https://issues.apache.org/jira/browse/MESOS-4524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15126212#comment-15126212
]
Daniel GraƱa commented on MESOS-4524:
-------------------------------------
Good idea! I would like to see this to pass small configuration files like
.dockercfg as well.
The url scheme can be https://en.wikipedia.org/wiki/Data_URI_scheme with
filename as an extension {{data:text/plain;filename=.dockercfg;base64,...}}
> Create a base64-encoded file content fetcher plugin module
> ----------------------------------------------------------
>
> Key: MESOS-4524
> URL: https://issues.apache.org/jira/browse/MESOS-4524
> Project: Mesos
> Issue Type: Task
> Components: fetcher
> Reporter: Shuai Lin
> Assignee: Shuai Lin
>
> Sometimes the scheduler may want to pass a file to the task sandbox directly:
> the value of the uri is the file content itself in base64 encoding, e.g.
> {code}
> base64://aGVsbG8gd29ybGQ=
> {code}
> To support this, we can add a Base64FetcherPlugin module. This requires
> [MESOS-3926], and can also serve as an example of how to implment a custom
> fetcher plugin.
> This also requires to add a {{target_name}} field in the URI PB, since now we
> can't parse the file name from the uri.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)