GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - origranot/helm-cascade

BranchesTags
Open more actions menu

Latest commit

 

History

20 Commits
20 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
.vscode
.vscode
 
 
cmd
cmd
 
 
pkg
pkg
 
 
scripts
scripts
 
 
.gitignore
.gitignore
 
 
.golangci.yaml
.golangci.yaml
 
 
.goreleaser.yaml
.goreleaser.yaml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
main.go
main.go
 
 
plugin.yaml
plugin.yaml
 
 

Repository files navigation

Helm Cascade Plugin

A Helm plugin for recursive dependency management across all subcharts in complex chart hierarchies.

šŸš€ Features

  • 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

šŸŽÆ Motivation

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.

šŸ“¦ Installation

helm plugin install https://github.com/origranot/helm-cascade

šŸ› ļø Usage

List Dependencies

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

Build Dependencies

Download and install all dependencies across the entire chart hierarchy:

helm cascade build <chart-dir>

Update Dependencies

Update all dependencies to their latest versions:

helm cascade update <chart-dir>

# or use the short alias:
helm cascade up <chart-dir>

Lint Charts

Validate all charts in the hierarchy:

helm cascade lint <chart-dir>

šŸ—ļø Real-World Example

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-platform

šŸ¤ Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

šŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

Readme
MIT license
Activity

Stars

38 stars

Watchers

1 watching

Forks

3 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Ɨ600. No cookies required.