From e1c85477c05e44394161a1d5a5f332b7a6a49691 Mon Sep 17 00:00:00 2001 From: Horst Gutmann Date: Thu, 30 Jan 2025 11:06:10 +0100 Subject: [PATCH] docs: add note about Tanka deploying test resources This behaviour was previously undocumented. See https://github.com/grafana/tanka/issues/550 for more context. --- docs/src/content/docs/helm.mdx | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/src/content/docs/helm.mdx b/docs/src/content/docs/helm.mdx index 3a674f47c..bd854309c 100644 --- a/docs/src/content/docs/helm.mdx +++ b/docs/src/content/docs/helm.mdx @@ -310,3 +310,15 @@ custom: helm.template('foo', './charts/foo', { ``` The literal default format used is `{{ print .kind "_" .metadata.name | snakecase }}` + +### Tanka deploys test charts + +By default, Tanka will deploy charts using the default flags for `helm +template` which also includes things like test resources. If that's not what +you want, then you can set the `skipTests` option when running `helm.template`: + +```jsonnet +custom: helm.template('foo', './charts/foo', { + skipTests: true, +}) +```