Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions validate-helm-charts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ process_chart() {
if should_skip_validation "$chart_name"; then
echo -e "${YELLOW}⊘ Skipping kubeconform for ${chart_name} (database chart)${NC}" >&2
rm -f "$result_file" "$result_file.lint" "$result_file.template"
exit $has_error
return $has_error
fi

# Build dependencies if Chart.yaml exists and has dependencies
Expand All @@ -112,7 +112,7 @@ process_chart() {
echo -e "${RED}✗ Dependency update failed for ${chart_name}${NC}" >&2
cd "$INITIAL_DIR"
rm -f "$result_file" "$result_file.lint" "$result_file.template"
exit 1
return 1
fi
fi

Expand All @@ -132,7 +132,7 @@ process_chart() {
fi

rm -f "$result_file" "$result_file.lint" "$result_file.template"
exit $has_error
return $has_error
}

# Export for parallel
Expand Down
Loading