Skip to content

Add ability of arguments to pull in external data #69

@soellman

Description

@soellman

I've been thinking about this for a while. In order to have distributive work on dynamic data, we'd need to pull it from somewhere. Confd and a few other go-based projects use the pattern of evaluating go templates which in turn can run template functions to pull data in.

For instance:

"{{ etcdlookup('/config/key') }}"

And template fns are also handy for doing string processing to transform the value.

I think it'd be useful to have the ability to support single- and multi-value funcs to return what you need.

https://github.com/kelseyhightower/confd/blob/master/docs/templates.md

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions