value file fix
This commit is contained in:
parent
6366d7c814
commit
e0c81132d4
@ -448,10 +448,12 @@ spec:
|
|||||||
# Only insert if we have actual content
|
# Only insert if we have actual content
|
||||||
if [ -n "$EDITED_CONTENT" ]; then
|
if [ -n "$EDITED_CONTENT" ]; then
|
||||||
# Write the values block to a temp file (preserves newlines properly)
|
# Write the values block to a temp file (preserves newlines properly)
|
||||||
|
# Note: valueFiles: is at 6 spaces in generated YAML (14 in template - 8 base indent)
|
||||||
|
# So values: must also be at 6 spaces, and content at 8 spaces
|
||||||
VALUES_TMP="/tmp/values_block_$$.txt"
|
VALUES_TMP="/tmp/values_block_$$.txt"
|
||||||
{
|
{
|
||||||
echo " values: |"
|
echo " values: |"
|
||||||
echo "$EDITED_CONTENT" | sed 's/^/ /'
|
echo "$EDITED_CONTENT" | sed 's/^/ /'
|
||||||
} > "$VALUES_TMP"
|
} > "$VALUES_TMP"
|
||||||
|
|
||||||
# Debug: show temp file content
|
# Debug: show temp file content
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user