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.
This commit is contained in:
Vincent Ambo 2018-06-09 21:15:18 +02:00 committed by Vincent Ambo
parent 77ca5b47cf
commit c91cb21f70
3 changed files with 55 additions and 23 deletions

View file

@ -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