Skip to content

Commit 9175d5d

Browse files
committed
Update code comment on helm error
1 parent 12246ef commit 9175d5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nix/scripts/list-helm-containers.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ while IFS= read -r chart; do
102102
secrets_file="${VALUES_DIR}/$(basename "${chart}")/demo-secrets.example.yaml"
103103
fi
104104

105-
# Separate helm stderr from stdout to avoid yq parsing errors
106-
# Save helm output to temp file to capture exit code
105+
# Save helm output to temp file to check exit code before parsing
106+
# This prevents yq from attempting to parse helm error messages
107107
temp_helm_output=$(mktemp)
108108
helm template "${chart}" \
109109
$( [[ -n "$values_file" ]] && echo "-f $values_file" ) \

0 commit comments

Comments
 (0)