A Helm plugin for recursive dependency management across all subcharts in complex chart hierarchies.
- Recursive Dependency Management: Automatically processes dependencies across all subcharts in a single command
- Visual Tree Display: Tree view showing the complete dependency hierarchy with status indicators
- Batch Operations: Build, update, and lint all charts in the correct dependency order
Managing dependencies in complex Helm chart hierarchies is challenging. Helm's built-in dependency commands only work on a single chart level, requiring you to manually navigate to each subchart directory and run commands individually. This becomes:
- Time-consuming: Manual navigation through dozens of subcharts
- Error prone: Easy to miss dependencies or run commands in the wrong order
- Inconsistent: Different team members might handle dependencies differently
Cascade solves this by automatically discovering all charts in your hierarchy and processing them in the correct dependency order.
helm plugin install https://github.com/origranot/helm-cascade
View the complete dependency tree with status indicators:
helm cascade list <chart-dir>
Example Output:
āāā e-commerce-platform ā ā web-frontend 1.2.3 ok ā š¦ api-gateway 2.1.0 unpacked ā ā payment-service 0.5.2 ok ā āāā web-frontend ā ā ā nginx-ingress 3.1.0 ok ā ā ā cert-manager 2.4.1 ok ā ā ā monitoring-stack 1.0.0 missing ā āāā api-gateway ā ā ā istio-gateway 1.8.0 ok ā ā ā rate-limiter 0.3.2 ok ā ā āāā istio-gateway ā ā ā ā istio-base 2.1.0 ok ā ā ā ā istiod 1.5.0 ok
Status Indicators:
- ā ok: Dependency is properly installed and up-to-date
- ā missing: Dependency needs to be downloaded
- š¦ unpacked: Dependency is downloaded but not installed
- ā version_mismatch: Installed version doesn't match requirements
Download and install all dependencies across the entire chart hierarchy:
helm cascade build <chart-dir>
Update all dependencies to their latest versions:
helm cascade update <chart-dir> # or use the short alias: helm cascade up <chart-dir>
Validate all charts in the hierarchy:
helm cascade lint <chart-dir>
Consider an e-commerce platform with this structure:
e-commerce-platform/
āāā Chart.yaml
āāā values.yaml
āāā charts/
ā āāā web-frontend/
ā ā āāā Chart.yaml
ā ā āāā charts/
ā ā ā āāā nginx-ingress/
ā ā ā ā āāā Chart.yaml
ā ā ā ā āāā charts/
ā ā ā ā āāā cert-manager/
ā ā ā āāā monitoring-stack/
ā ā āāā charts/
ā ā āāā redis-cache/
ā āāā api-gateway/
ā ā āāā Chart.yaml
ā ā āāā charts/
ā ā āāā istio-gateway/
ā ā ā āāā Chart.yaml
ā ā ā āāā charts/
ā ā ā āāā istio-base/
ā ā ā āāā istiod/
ā ā āāā rate-limiter/
ā āāā payment-service/
Without Cascade:
# Manual process - error-prone and time-consuming cd e-commerce-platform helm dependency build cd charts/web-frontend helm dependency build cd charts/nginx-ingress helm dependency build cd charts/cert-manager helm dependency build cd charts/monitoring-stack helm dependency build cd charts/redis-cache helm dependency build cd ../api-gateway helm dependency build cd charts/istio-gateway helm dependency build cd charts/istio-base helm dependency build cd charts/istiod helm dependency build cd ../rate-limiter helm dependency build cd ../../payment-service helm dependency build # ... repeat for every chart
With Cascade:
# One command handles everything
helm cascade build e-commerce-platformContributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.