yq/examples/merge-anchor.yaml

18 lines
172 B
YAML
Raw Normal View History

2019-12-16 10:09:23 +00:00
foo: &foo
a: original
thing: coolasdf
bar: &bar
b: 2
2019-12-22 04:15:15 +00:00
thing: coconut
c: oldbar
2019-12-16 10:09:23 +00:00
2019-12-22 04:15:15 +00:00
foobarList:
2019-12-16 10:09:23 +00:00
<<: [*foo,*bar]
2019-12-22 04:15:15 +00:00
c: newbar
2019-12-16 10:09:23 +00:00
foobar:
<<: *foo
thing: ice
c: 3