From f28ed42f25ef2ae0c30be6e912ac3c2fe72afb0f Mon Sep 17 00:00:00 2001 From: yxxhero Date: Sun, 19 Apr 2026 08:27:20 +0800 Subject: [PATCH] fix: scope test values under raw subchart and align ConfigMap name with strategic merge patches The race condition test values.yaml had templates at the top level instead of scoped under the raw subchart key, causing helm template to produce no output and chartify's ReplaceWithRendered to fail with an empty helmx.1.rendered directory. Also align the ConfigMap name to match the strategicMergePatches target. Signed-off-by: yxxhero --- .../input/helm/my-chart/values.yaml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/test/integration/test-cases/issue-2502-race-condition-local-chart/input/helm/my-chart/values.yaml b/test/integration/test-cases/issue-2502-race-condition-local-chart/input/helm/my-chart/values.yaml index 8f37b0b5..20aeae25 100644 --- a/test/integration/test-cases/issue-2502-race-condition-local-chart/input/helm/my-chart/values.yaml +++ b/test/integration/test-cases/issue-2502-race-condition-local-chart/input/helm/my-chart/values.yaml @@ -1,8 +1,9 @@ -templates: - - | - apiVersion: v1 - kind: ConfigMap - metadata: - name: {{ .Release.Name }}-config - data: - key: value +raw: + templates: + - | + apiVersion: v1 + kind: ConfigMap + metadata: + name: test-cm + data: + key: value