Combine two YAML documents with recursive mappings and selectable sequence behavior.
Both values are parsed, mappings merge recursively, scalar conflicts use the later document, and sequences replace, concatenate, or concatenate uniquely according to the option. The result is serialized as YAML.
Input1: server: host: localhost port: 3000 database: host: localhost port: 5432 Input2: server: port: 8080 ssl: true logging: level: debug
server: host: localhost port: 8080 ssl: true database: host: localhost port: 5432 logging: level: debug
Helm values, Ansible variables, and deployment overlays merge YAML.