Hacker News new | ask | show | jobs
by donaldguy 3106 days ago
helm recently(ish) added a helm template command to do client side rendering of a chart

So if you wanted to just create a folder with a Chart.yaml, and a templates/file.yml.tpl with some `{{.Values.foo}}` template strings

It is sufficient to just run `helm template --set foo=bar | kubectl apply -f -` at that point.

Idk if that is little enough complexity for you. Similarly I use https://github.com/gliderlabs/sigil a few places where I want to include specific fields from external json files

1 comments

Same here, helm template is great. It’s nice to pipe output from helm template to https://github.com/dminkovsky/kube-cloud-build if you’re on GKE.

If you’re using helm, is your json interpolation for things that can’t be in values.yaml?