Generate production-ready Helm charts for Kubernetes applications. Use when users need to create new Helm charts, convert Kubernetes manifests to Helm templates, scaffold charts for Deployments/StatefulSets/Jobs/CronJobs, create multi-environment configurations, or standardize organizational chart templates with CNCF/Helm best practices. Uses Python scaffolding script and template assets for automated generation.
Automate production-ready Helm chart generation using template assets, Python scaffolding scripts, and Kubernetes best practices through conversational interaction.
scripts/scaffold_chart.py)assets/templates/ directoryFor simple chart generation, use the Python scaffolding script directly:
python3 scripts/scaffold_chart.py <chart-name> \
--workload-type deployment \
--output /mnt/user-data/outputs \
--ingress \
--hpa
User Request
├─ Simple chart (name + type provided)
│ └─ Use scaffold_chart.py directly
├─ Complex chart (many options)
│ └─ Ask clarifying questions, then use scaffold_chart.py
├─ Manifest conversion
│ └─ Manual templatization process
└─ Custom requirements
└─ Manual generation with template references
Identify the scenario:
scaffold_chart.py with user-provided paramsMinimum required:
Optional (ask if not provided):
For straightforward charts, execute the Python script:
import subprocess
cmd = [
'python3', 'scripts/scaffold_chart.py',
chart_name,
'--workload-type', workload_type,
'--output', '/mnt/user-data/outputs'
]
if include_ingress:
cmd.append('--ingress')
if include_hpa:
cmd.append('--hpa')
if include_configmap:
cmd.append('--configmap')
subprocess.run(cmd, check=True)
The script automatically:
assets/templates/CHARTNAME placeholder with actual chart nameFor custom requirements, manually copy and modify templates:
assets/templates/<workload>/<file>.yamlCHARTNAME with actual chart name/home/claude/<chart-name>/templates/If user requests dev/staging/prod configs, create additional values files:
values-dev.yaml:
replicaCount: 1