about summary refs log tree commit diff
path: root/example
diff options
context:
space:
mode:
Diffstat (limited to 'example')
-rw-r--r--example/other-config.yaml7
-rw-r--r--example/prod-cluster.yaml7
2 files changed, 14 insertions, 0 deletions
diff --git a/example/other-config.yaml b/example/other-config.yaml
new file mode 100644
index 000000000000..87370569c46e
--- /dev/null
+++ b/example/other-config.yaml
@@ -0,0 +1,7 @@
+---
+apiVersion: extensions/v1beta1
+kind: ConfigMap
+metadata:
+  name: other-config
+data:
+  globalData: {{ .globalVar }}
diff --git a/example/prod-cluster.yaml b/example/prod-cluster.yaml
index dd7804f719c3..9f300a492080 100644
--- a/example/prod-cluster.yaml
+++ b/example/prod-cluster.yaml
@@ -3,8 +3,15 @@ context: k8s.prod.mydomain.com
 global:
   globalVar: lizards
 include:
+  # By default resource sets are included from a folder with the same
+  # name as the resource set's name
   - name: some-api
     values:
       version: 1.0-0e6884d
       importantFeature: true
       apiPort: 4567
+
+  # Paths can also be specified manually (and point at single template
+  # files!)
+  - name: other-config
+    path: other-config.yaml