helm_template rules.
Rules
helm_template
load("@rules_helm//helm:helm_template.bzl", "helm_template")
helm_template(name, out, chart, opts, values)
A rule for rendering helm chart templates to a file.
ATTRIBUTES
| Name | Description | Type | Mandatory | Default |
|---|---|---|---|---|
| name | A unique name for this target. | Name | required | |
| out | The output file to write the output from helm template. | Label; nonconfigurable | optional | None |
| chart | The helm package to resolve charts for. | Label | required | |
| opts | Additional arguments to pass to helm template. | List of strings | optional | [] |
| values | Values files to pass to helm template --values. | List of labels | optional | [] |
helm_template_test
load("@rules_helm//helm:helm_template.bzl", "helm_template_test")
helm_template_test(name, chart, installer, opts, template_patterns, values)
A test rule for rendering helm chart templates.
ATTRIBUTES
| Name | Description | Type | Mandatory | Default |
|---|---|---|---|---|
| name | A unique name for this target. | Name | required | |
| chart | The helm package to resolve templates for. Mutually exclusive with installer. | Label | required | |
| installer | The helm_install/helm_upgrade target to resolve templates for. Mutually exclusive with chart. | Label | optional | None |
| opts | Additional arguments to pass to helm template. | List of strings | optional | [] |
| template_patterns | A mapping of template paths to regex patterns required to match. | Dictionary: String -> List of strings | optional | {} |
| values | Values files to pass to helm template --values. | List of labels | optional | [] |