about summary refs log tree commit diff
path: root/context
AgeCommit message (Collapse)AuthorFilesLines
2017-04-04 fix test: Assert variable override orderVincent Ambo1-0/+5
2017-04-04 feat context: Support resource set default valuesVincent Ambo4-3/+65
This adds functionality to specify default values directly in resource sets. The idea is that users can create a file called `values.yaml` or `values.json` in a resource set's folder and have all variables specified in that file be automatically merged into the resource set variables with the lowest priority. This fixes #25 This fixes #30 (to a degree)
2017-02-20 style: Apply go fmtVincent Ambo1-2/+2
2017-02-14 feat ctx: Let sub-resource-sets inherit vars from parentVincent Ambo4-0/+81
Users of kontemplate may expect variables defined on the parent resource to be inherited by children. This implements that functionality. Values defined twice are overwritten by the child's definition. Fixes #20
2017-02-08 feat context: Add deserialisation testsVincent Ambo3-0/+108
2017-02-08 fix templater & ctx: Correctly check resource set parentVincent Ambo1-2/+3
2017-02-08 fix context: Set sub resource names correctlyVincent Ambo1-0/+1
2017-02-08 feat context: Add support for resource set collectionsVincent Ambo1-0/+24
A resource set collection is a resource set with an addition 'include' array configured. It is a short-hand for importing multiple resource sets from the same folder and for excluding/including them as a group. See https://github.com/tazjin/kontemplate/issues/9 for more information. Closes #9
2017-02-08 feat context: Add YAML loading supportVincent Ambo1-1/+14
Closes #5
2017-02-08 feat main: Add proper CLI supportVincent Ambo1-1/+2
Adds a basic CLI structure with a single "run" command that takes a --file (-f) and --limit (-l) flag. --limit can be used to only output certain resource sets. Closes #4
2017-02-08 feat context: Add types and loading functionsVincent Ambo1-0/+51