about summary refs log tree commit diff
path: root/context/testdata
AgeCommit message (Collapse)AuthorFilesLines
2018-12-11 feat(main): Support specifying kubectl args in ResourceSetsMartin Lehmann1-0/+9
2018-06-26 test(context): Introduce an explicit value merging testVincent Ambo4-0/+29
Introduces a test which will merge variables defined at every possible layer together and ensure that the loaded context configuration is as expected. The test data provides an actual resource set template that can be tested locally from a kontemplate source checkout: kontemplate template context/testdata/merging/context.yaml --var cliVar=cliVar
2018-06-26 chore(context): Remove previous value override testVincent Ambo1-10/+0
2018-06-09 refactor(context): Implement more explicit merging of variablesVincent Ambo1-1/+2
The hierarchy for loading variables was previously not expressed explicitly. This commit refactors the logic for merging variables to explicitly set the different layers of variables as values on the context object and merge them for each resource set in `mergeContextValues`.
2017-07-13 feat context: Allow overriding resource set pathsVincent Ambo2-0/+19
Instead of always inferring the path at which files in a resource set are located, let users override the path by specifying a `path` field. This makes it possible to add the same resource set multiple times with different values while still keeping distinct names for addressability (for example when using include/exclude). This fixes #70
2017-07-03 feat context: Add ability to import extra variables from filesVincent Ambo4-0/+22
Kontemplate context specifications can now load extra variables from YAML or JSON files by specifying a list of files (relative to the context file) under the `import` key.
2017-04-04 feat context: Support resource set default valuesVincent Ambo2-0/+8
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-14 feat ctx: Let sub-resource-sets inherit vars from parentVincent Ambo2-0/+20
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 Ambo2-0/+25