about summary refs log tree commit diff
path: root/context/testdata
diff options
context:
space:
mode:
Diffstat (limited to 'context/testdata')
-rw-r--r--context/testdata/import-vars-override.yaml9
-rw-r--r--context/testdata/import-vars-simple.yaml5
-rw-r--r--context/testdata/test-vars-override.yaml3
-rw-r--r--context/testdata/test-vars.yaml5
4 files changed, 22 insertions, 0 deletions
diff --git a/context/testdata/import-vars-override.yaml b/context/testdata/import-vars-override.yaml
new file mode 100644
index 000000000000..c3d47bcfc1fc
--- /dev/null
+++ b/context/testdata/import-vars-override.yaml
@@ -0,0 +1,9 @@
+---
+context: k8s.prod.mydomain.com
+global:
+  globalVar: very global!
+  override: 1
+import:
+  - test-vars.yaml
+  - test-vars-override.yaml
+include: []
diff --git a/context/testdata/import-vars-simple.yaml b/context/testdata/import-vars-simple.yaml
new file mode 100644
index 000000000000..12244e1ab174
--- /dev/null
+++ b/context/testdata/import-vars-simple.yaml
@@ -0,0 +1,5 @@
+---
+context: k8s.prod.mydomain.com
+import:
+  - test-vars.yaml
+include: []
diff --git a/context/testdata/test-vars-override.yaml b/context/testdata/test-vars-override.yaml
new file mode 100644
index 000000000000..5215c559c136
--- /dev/null
+++ b/context/testdata/test-vars-override.yaml
@@ -0,0 +1,3 @@
+---
+override: 3
+place: Oslo
diff --git a/context/testdata/test-vars.yaml b/context/testdata/test-vars.yaml
new file mode 100644
index 000000000000..af27bdc455bf
--- /dev/null
+++ b/context/testdata/test-vars.yaml
@@ -0,0 +1,5 @@
+---
+override: 'true'
+music:
+  artist: Pallida
+  track: Tractor Beam