From e0c81132d4cadfcf230f9d393098451359cebacb Mon Sep 17 00:00:00 2001 From: Vaibhav Pathak Date: Thu, 19 Feb 2026 10:09:55 +0530 Subject: [PATCH] value file fix --- environment-provisioner/workflow-template.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/environment-provisioner/workflow-template.yaml b/environment-provisioner/workflow-template.yaml index 5df7ac4..3d7e57a 100644 --- a/environment-provisioner/workflow-template.yaml +++ b/environment-provisioner/workflow-template.yaml @@ -448,10 +448,12 @@ spec: # Only insert if we have actual content if [ -n "$EDITED_CONTENT" ]; then # 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" { - echo " values: |" - echo "$EDITED_CONTENT" | sed 's/^/ /' + echo " values: |" + echo "$EDITED_CONTENT" | sed 's/^/ /' } > "$VALUES_TMP" # Debug: show temp file content