helm_import rules.
Rules
Repository Rules
helm_import
load("@rules_helm//helm:helm_import.bzl", "helm_import")
helm_import(name, chart, version)
A rule that allows pre-packaged Helm charts to be used within Bazel.
ATTRIBUTES
| Name | Description | Type | Mandatory | Default |
|---|---|---|---|---|
| name | A unique name for this target. | Name | required | |
| chart | A Helm chart's .tgz file. | Label | optional | None |
| version | The version fo the helm chart | String | optional | "" |
helm_import_repository
load("@rules_helm//helm:helm_import.bzl", "helm_import_repository")
helm_import_repository(name, chart_name, repository, sha256, url, version)
A rule for fetching external Helm charts from an arbitrary URL or repository.
ATTRIBUTES
| Name | Description | Type | Mandatory | Default |
|---|---|---|---|---|
| name | A unique name for this repository. | Name | required | |
| chart_name | Chart name to import. Must be set if repository is specified | String | optional | "" |
| repository | Chart repository url where to locate the requested chart. Mutually exclusive with url. | String | optional | "" |
| sha256 | The expected SHA-256 hash of the chart imported. | String | optional | "" |
| url | The url where a chart can be directly downloaded. Mutually exclusive with chart_name, repository, and version | String | optional | "" |
| version | Specify a version constraint for the chart version to use. Must be set if repository is specified. | String | optional | "" |