Merge/Overriding results in duplicate keys
Input Yaml
templates:
default: &default
labels:
sync: everyday
charts:
- name: test
<<: *default
chart: test
labels:
sync: thur
from: roboll/helmfile#657
with yj -yy results in
Output Yaml
templates:
default:
labels:
sync: everyday
charts:
- name: test
labels:
sync: everyday
chart: test
labels:
sync: thur
Note that the key labels/sync is duplicate; it should have overwritten the original value.
Merge/Overriding results in duplicate keys
Input Yaml
from: roboll/helmfile#657
with
yj -yyresults inOutput Yaml
Note that the key
labels/syncis duplicate; it should have overwritten the original value.