Hey I recently wrote this blog post on how painful...
# kubernetes
f
Hey I recently wrote this blog post on how painful it was to write a Helm Deployment and Kubernetes Objects using Go: https://theclouddude.co.uk/the-painful-journey-of-deploying-a-helm-chart-to-kubernetes-with-go
d
Thanks for sharing. Pulumi has some similar wrapper code in provider/pkg/helm.
f
Ahh thanks!!
Why the fake.go? lol
This is great thinking:
Copy code
type TemplateOrInstallCommand struct {
	// Install parameters.
	*action.Install

	// Chart is the chart specification, which can be:
	// - a path to a local chart directory or archive file
	// - a qualified chart reference (e.g., "stable/mariadb") based on the local repository configuration
	// - a URL to a remote chart (https://, oci://, file://, etc.)
	Chart string

	// Values to be applied to the chart.
	Values ValueOpts

	tool         *Tool
	actionConfig *action.Configuration
}
I wish I came across this when I was trying to build and deploy a helm chart. I didn't think of doing it this way!!.
p 1