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 <aiopsclub@163.com>
This commit is contained in:
yxxhero 2026-04-19 08:27:20 +08:00
parent 026e764c78
commit f28ed42f25
1 changed files with 9 additions and 8 deletions

View File

@ -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