value file fix

This commit is contained in:
Vaibhav Pathak 2026-02-19 10:09:55 +05:30
parent 6366d7c814
commit e0c81132d4

View File

@ -448,6 +448,8 @@ 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: |"