From 4012dac43f3afa0cb2598367ededb47fcb9a7d21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Otto=20Kr=C3=B6pke?= Date: Sun, 1 Nov 2020 19:22:16 +0100 Subject: [PATCH] Add test case for values --- tests/05-helm-cli.bats | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tests/05-helm-cli.bats b/tests/05-helm-cli.bats index f8625163..484847ed 100644 --- a/tests/05-helm-cli.bats +++ b/tests/05-helm-cli.bats @@ -58,3 +58,15 @@ load 'test-helper' run "$HELM_BIN" repo remove cert-manager-v0.5.2 [ $status = 0 ] } + +@test "helm_cli template example-chart + values" { + run helm_init "$HELM_HOME" + [ $status = 0 ] + run helm plugin install "$HELM_GIT_DIRNAME" + [ $status = 0 ] + run helm template \ + --repo "git+https://github.com/aslafy-z/helm-git@tests/fixtures/example-chart?ref=master" \ + example-chart \ + -f "git+https://github.com/aslafy-z/helm-git@tests/fixtures/example-chart/values.yaml?ref=master" + [ $status = 0 ] +}