Skip to content

Commit 1086d67

Browse files
committed
add template output to helm_install rule
1 parent fd46186 commit 1086d67

3 files changed

Lines changed: 3 additions & 13 deletions

File tree

docs/rules.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ Defines an imported helm chart.
5656

5757
<pre>
5858
helm_install(<a href="#helm_install-name">name</a>, <a href="#helm_install-atomic">atomic</a>, <a href="#helm_install-chart">chart</a>, <a href="#helm_install-cleanup_on_fail">cleanup_on_fail</a>, <a href="#helm_install-create_namespace">create_namespace</a>, <a href="#helm_install-description">description</a>,
59-
<a href="#helm_install-disable_openapi_validation">disable_openapi_validation</a>, <a href="#helm_install-dry_run">dry_run</a>, <a href="#helm_install-force">force</a>, <a href="#helm_install-images">images</a>, <a href="#helm_install-namespace">namespace</a>, <a href="#helm_install-no_hooks">no_hooks</a>, <a href="#helm_install-release_name">release_name</a>)
59+
<a href="#helm_install-disable_openapi_validation">disable_openapi_validation</a>, <a href="#helm_install-dry_run">dry_run</a>, <a href="#helm_install-force">force</a>, <a href="#helm_install-images">images</a>, <a href="#helm_install-namespace">namespace</a>, <a href="#helm_install-no_hooks">no_hooks</a>, <a href="#helm_install-release_name">release_name</a>,
60+
<a href="#helm_install-template_output">template_output</a>)
6061
</pre>
6162

6263
Defines a helm install execution.
@@ -79,6 +80,7 @@ Defines a helm install execution.
7980
| <a id="helm_install-namespace"></a>namespace | Namespace scope for this reques. | String | optional | "" |
8081
| <a id="helm_install-no_hooks"></a>no_hooks | Prevent hooks from running during install\upgrade | Boolean | optional | False |
8182
| <a id="helm_install-release_name"></a>release_name | Release name used by helm. | String | required | |
83+
| <a id="helm_install-template_output"></a>template_output | Filename to dump the rendered chart | <a href="https://bazel.build/docs/build-ref.html#labels">Label</a> | optional | |
8284

8385

8486
<a id="#helm_lint_test"></a>

example/chart/BUILD.bazel

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,6 @@ helm_install(
3333
release_name = "hello-world",
3434
)
3535

36-
rule_test(
37-
name = "install_test",
38-
generates = ["install"],
39-
rule = ":install",
40-
)
41-
4236
helm_template(
4337
name = "template",
4438
chart = ":chart",

example/repackage/BUILD.bazel

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,6 @@ helm_install(
2424
release_name = "hello-world",
2525
)
2626

27-
rule_test(
28-
name = "install_test",
29-
generates = ["install"],
30-
rule = ":install",
31-
)
32-
3327
helm_template(
3428
name = "template",
3529
chart = ":chart",

0 commit comments

Comments
 (0)