feat context: Support resource set default values
This adds functionality to specify default values directly in resource sets. The idea is that users can create a file called `values.yaml` or `values.json` in a resource set's folder and have all variables specified in that file be automatically merged into the resource set variables with the lowest priority. This fixes #25 This fixes #30 (to a degree)
This commit is contained in:
parent
4eadb58841
commit
11cfc80020
4 changed files with 65 additions and 3 deletions
6
context/testdata/default-loading.yaml
vendored
Normal file
6
context/testdata/default-loading.yaml
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
context: default-loading
|
||||
include:
|
||||
- name: default
|
||||
values:
|
||||
override: notAtAll
|
||||
Loading…
Add table
Add a link
Reference in a new issue