-
Notifications
You must be signed in to change notification settings - Fork 20
Add ability of arguments to pull in external data #69
Copy link
Copy link
Open
Labels
Description
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?
Reactions are currently unavailable