# kube2helm **Repository Path**: airtrioa/kube2helm ## Basic Information - **Project Name**: kube2helm - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-03-25 - **Last Updated**: 2024-03-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # How To Use Start with a k8s template file you want to convert to a helm chart. Run $ ./run.sh /path/to/your/template/file # What Does It Do? Inside your cloned repository, `run.sh` will create a `charts` folder. It then calls `helm create ./charts/` to get a helm chart started in the correct format. Finally, `run.sh` calls `kube2helm.py -f /path/to/your/template/file`, which parses the template file YAML and breaks out each object into its own helm chart template file inside `./charts//templates/` with the filename format `_.yml`. # What Else Should It Do? There are other things that need to happen to get a working helm chart from a k8s template. Many of these can be done programmatically with Python and its handling of the content with `pyyaml`.