Skip to content

What is a Jsonnet Helmet Chart

A Jsonnet Helmet chart is a Helmet app chart that has only a Jsonnet project.

It could be then:

  • executed only with Jsonnet. Example:
Terminal window
cd jsonnet
rm -rf out && mkdir -p out && jsonnet -J vendor \
--multi out \
"main.jsonnet" \
--ext-code "values=std.parseYaml(importstr \"../../cluster/values.yaml\")" \
| xargs -I{} sh -c 'cat {} | gojsontoyaml > "{}.yaml" && rm {}' -- {}
  • or added as Jsonnet dependency