tvl-depot/context
Phillip Johnsen 5cf9d53e80 feat(context): allow explicit variables to be defined as argument
These changes allows variables to be defined when executing
`kontemplate` via one or more `--variable` arguments.

With this in place one can either define new variables or override
existing variables loaded from a file:

```
$ kontemplate apply --variable version=v1.0 example/fancy-app.yaml
```

This avoids the need to write variables into a temporary file that is
only needed to provide "external variables" into resource sets.

Closes https://github.com/tazjin/kontemplate/issues/122
2018-06-09 19:16:23 +02:00
..
testdata feat context: Allow overriding resource set paths 2017-07-13 16:07:08 +02:00
context.go feat(context): allow explicit variables to be defined as argument 2018-06-09 19:16:23 +02:00
context_test.go feat(context): allow explicit variables to be defined as argument 2018-06-09 19:16:23 +02:00