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

NameDescriptionTypeMandatoryDefault
nameA unique name for this target.Namerequired
outThe output file to write the output from helm template.Label; nonconfigurableoptionalNone
chartThe helm package to resolve charts for.Labelrequired
optsAdditional arguments to pass to helm template.List of stringsoptional[]
valuesValues files to pass to helm template --values.List of labelsoptional[]

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

NameDescriptionTypeMandatoryDefault
nameA unique name for this target.Namerequired
chartThe helm package to resolve templates for. Mutually exclusive with installer.Labelrequired
installerThe helm_install/helm_upgrade target to resolve templates for. Mutually exclusive with chart.LabeloptionalNone
optsAdditional arguments to pass to helm template.List of stringsoptional[]
template_patternsA mapping of template paths to regex patterns required to match.Dictionary: String -> List of stringsoptional{}
valuesValues files to pass to helm template --values.List of labelsoptional[]