From d6910f01deb3fa41b2a7662d1d5eb4a7d1b5c50f Mon Sep 17 00:00:00 2001 From: Piotr Milewski Date: Thu, 26 Mar 2026 18:05:41 +0100 Subject: Add YAML support to kolla_set_configs engine Following the PTG agreement, this commit extends the container configuration engine (set_configs.py) to support YAML format while maintaining backward compatibility with JSON. - Integrated 'yaml' library as a universal parser for both JSON and YAML formats (YAML is a superset of JSON) - Updated 'load_config' to search for 'config.json', 'config.yaml' - Added 'python3-yaml' (Debian) and 'python3-pyyaml' (RHEL) as required base packages in Dockerfile.j2 This change improves configuration readability and allows for easier maintenance while ensuring no breakage for existing JSON-based deployments. Change-Id: Icfb52b8f94e1036d5952b160c5921348d1427fda Signed-off-by: Piotr Milewski --- releasenotes/notes/switch-to-yaml-configs-32802ccb894c0295.yaml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 releasenotes/notes/switch-to-yaml-configs-32802ccb894c0295.yaml (limited to 'releasenotes') diff --git a/releasenotes/notes/switch-to-yaml-configs-32802ccb894c0295.yaml b/releasenotes/notes/switch-to-yaml-configs-32802ccb894c0295.yaml new file mode 100644 index 000000000..bfc798906 --- /dev/null +++ b/releasenotes/notes/switch-to-yaml-configs-32802ccb894c0295.yaml @@ -0,0 +1,7 @@ +--- +features: + - | + The ``kolla_set_configs`` tool now supports YAML as a native + configuration format. It can now load ``config.yaml`` files in + addition to the legacy ``config.json``. Existing JSON + configurations remain fully supported. -- cgit v1.2.3