diff options
author | Vincent Ambo <tazjin@gmail.com> | 2017-07-13T13·57+0200 |
---|---|---|
committer | Vincent Ambo <tazjin@gmail.com> | 2017-07-13T14·07+0200 |
commit | 7607f6dc0fff076cc69ca2d6f50eb04b728e3a44 (patch) | |
tree | 7deafdc7ad291249d773eaec1b47113e843b22a3 /context/testdata/explicit-path.yaml | |
parent | 9d26c17f13240479ef3e12e9182aca3ac2e61901 (diff) |
feat context: Allow overriding resource set paths
Instead of always inferring the path at which files in a resource set are located, let users override the path by specifying a `path` field. This makes it possible to add the same resource set multiple times with different values while still keeping distinct names for addressability (for example when using include/exclude). This fixes #70
Diffstat (limited to 'context/testdata/explicit-path.yaml')
-rw-r--r-- | context/testdata/explicit-path.yaml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/context/testdata/explicit-path.yaml b/context/testdata/explicit-path.yaml new file mode 100644 index 000000000000..2c81f83c0919 --- /dev/null +++ b/context/testdata/explicit-path.yaml @@ -0,0 +1,11 @@ +--- +context: k8s.prod.mydomain.com +include: + - name: some-api-europe + path: some-api + values: + location: europe + - name: some-api-asia + path: some-api + values: + location: asia |