sidero
sidero copied to clipboard
feat: add support for strategic merge patches
Currently, Sidero supports only RFC 6902 patches (aka JSON patch). [1]
The talosctl
tool supports also the strategic merge patches. [2]
This patching style is used in customisation approaches which aim to preserve the config structure, e.g., for clearer understanding, complex structure of patches.
Additionally, the strategic merge patch in talosctl
supports the newly-introduced multiple-document configuration unlike the RFC 6902 approach. [3]
This feature in Sidero depends on the analogous feature in CABPT. [4]
[1] https://www.sidero.dev/v0.6/guides/patching/ [2] https://www.talos.dev/v1.6/talos-guides/configuration/patching/#strategic-merge-patches [3] https://www.talos.dev/v1.6/talos-guides/configuration/patching/#configuration-patch-formats [4] https://github.com/siderolabs/cluster-api-bootstrap-provider-talos/issues/181