From c91cb21f70bbd4550bf216e64136816b42145392 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 9 Jun 2018 21:15:18 +0200 Subject: 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. --- example/prod-cluster.yaml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'example/prod-cluster.yaml') 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 -- cgit 1.4.1