about summary refs log tree commit diff
path: root/context/testdata/merging/context.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'context/testdata/merging/context.yaml')
-rw-r--r--context/testdata/merging/context.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/context/testdata/merging/context.yaml b/context/testdata/merging/context.yaml
new file mode 100644
index 000000000000..df30d3d8cbe3
--- /dev/null
+++ b/context/testdata/merging/context.yaml
@@ -0,0 +1,15 @@
+# This context file is intended to test the merge hierarchy of
+# variables defined at different levels.
+---
+context: merging.in.kontemplate.works
+global:
+  globalVar: globalVar
+  includeVar: should be overridden (global)
+  cliVar: should be overridden (global)
+import:
+  - import-vars.yaml
+include:
+  - name: resource
+    values:
+      includeVar: includeVar
+      cliVar: should be overridden (include)