tvl-depot/context/testdata/parent-variable-override.yaml
Vincent Ambo 0147c3e13e feat ctx: Let sub-resource-sets inherit vars from parent
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-14 19:12:53 +01:00

10 lines
161 B
YAML

---
context: k8s.prod.mydomain.com
include:
- name: parent
values:
foo: bar
include:
- name: child
values:
foo: newvalue