k3s/pkg/configfilearg/testdata/data.yaml.d/01-data.yml
Darren Shepherd a0a1071aa5
Support .d directory for k3s config file (#3162)
Configuration will be loaded from config.yaml and then config.yaml.d/*.(yaml|yml) in
alphanumeric order.  The merging is done by just taking the last value of
a key found, so LIFO for keys.  Slices are not merged but replaced.

Signed-off-by: Darren Shepherd <darren@rancher.com>
2021-04-15 11:29:24 -07:00

7 lines
62 B
YAML

foo-bar: get-overriden
a-slice:
- 1
- "1.5"
- "2"
- ""
- three