about summary refs log tree commit diff
path: root/example/prod-cluster.yaml
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2018-06-09T19·15+0200
committerVincent Ambo <github@tazj.in>2018-06-09T19·23+0200
commitc91cb21f70bbd4550bf216e64136816b42145392 (patch)
tree1c3a20c4a6f8fe748a085fa44de1df5a97349871 /example/prod-cluster.yaml
parent77ca5b47cf5d40fa53204633924e8ba30a517b3f (diff)
feat(templater): Support single-template resource sets
Supports resource sets in which the `path` is pointed at a single
template file.

The example has been updated with ... an example of this.

This closes #81.
Diffstat (limited to 'example/prod-cluster.yaml')
-rw-r--r--example/prod-cluster.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/example/prod-cluster.yaml b/example/prod-cluster.yaml
index dd7804f719..9f300a4920 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