From c929f8997e58ea5a74eb8bc6ac72ef6b1dab9dd8 Mon Sep 17 00:00:00 2001 From: Dharmik Date: Mon, 29 Sep 2025 15:56:48 -0300 Subject: [PATCH] Enable YAML merge keys in yamlPlaceholderResolver Signed-off-by: Dharmik --- plugins/catalog-backend/src/processors/PlaceholderProcessor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/catalog-backend/src/processors/PlaceholderProcessor.ts b/plugins/catalog-backend/src/processors/PlaceholderProcessor.ts index bdbb0433d7..7e55612ac8 100644 --- a/plugins/catalog-backend/src/processors/PlaceholderProcessor.ts +++ b/plugins/catalog-backend/src/processors/PlaceholderProcessor.ts @@ -140,7 +140,7 @@ export async function yamlPlaceholderResolver( let documents: yaml.Document.Parsed[]; try { - documents = yaml.parseAllDocuments(content).filter(d => d); + documents = yaml.parseAllDocuments(content, {merge: true}).filter(d => d); } catch (e) { throw new Error( `Placeholder \$${params.key} failed to parse YAML data at ${params.value}, ${e}`,