{"repo":"slok/go-helm-template","free":true,"listed":false,"github":"https://github.com/slok/go-helm-template","clone":"git clone https://github.com/slok/go-helm-template.git","description":"Simple go library to run Helm template without executing Helm","language":"Go","stars":23,"topics":["helm","template","kubernetes","golang","go","lib","library","k8s","helm-chart"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"go-helm-template Simple, fast and easy to use Go library to run [helm template][helm-template] without the need of a [Helm] binary nor its execution as an external command. Features - Simple - Fast - Compatible with go fs.FS (Template charts from FS, embedded, memory...) - Testable. - No Helm binary required. - No external command execution from Go. - Template specific files option. Getting started Examples - Chart unit test: An example that shows how to use the library for chart unit testing. - Custom: An example that templates a chart with custom options (e.g CRDs). - Embed: An example that renders charts embedded in the binary using [ embed.FS ][embed-fs]. - Memory: An example that templates a chart from memory. - Simple: A simple way of templating a chart in the FS. Tradeoffs This library doesn't support anything apart from simple helm template . dependencies, hooks... and similar fancy features, are not supported. Why One of the [Helm]'s most powerful feature (if not the most) is its template system, lots of users only use [Helm] for this usage. Not depending on helm as a system dependency, nor requiring to execute an external command, improves the portability and performance of applications that use Helm internally. Some use cases - Remove process execution for simple helm template calls. - Control better the execution flow of rendering multiple charts. - Embed charts in compiled binaries with [ embed.FS ][embed-fs]. - Increase Helm template speed. - Chart unit testing.","default_branch":null,"files":null,"tree":[],"storefront":"/r/slok","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/slok/go-helm-template/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}