Skip to content

Commit

Permalink
Document helm template flags (#559)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Sabsay <sabsay@adobe.com>
  • Loading branch information
dsabsay and Daniel Sabsay authored May 20, 2021
1 parent 61655fb commit 886f21b
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions docs/docs/helm.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,29 @@ a regular Jsonnet object that looks roughly like so:

Above can be [manipulated](/tutorial/environments#patching) in the same way as any other Jsonnet data.

Under the hood, this feature invokes the
[`helm template`](https://helm.sh/docs/helm/helm_template/) CLI command.
The following options control how the command is invoked:

```jsonnet
...
{
grafana: helm.template("grafana", "./charts/grafana", {
namespace: "monitoring",
values: {
persistence: { enabled: true }
},
// Equivalent to: --include-crds; only relevant for Helm v3+.
includeCrds: true,
// Equivalent to: --api-versions v1 --api-versions apps/v1
apiVersions: ['v1', 'apps/v1']
// Equivalent to: --no-hooks
noHooks: true,
}
```


## Vendoring Helm Charts

Tanka, like Jsonnet, is hermetic. It **always yields the same
Expand Down

0 comments on commit 886f21b

Please sign in to comment.