Links
- Site: https://helm.sh
This is the multi-page printable view of this section. Click here to print.
load("@com_alwaldend_src//tools/helm/main/bzl:al_helm_binary.bzl", "al_helm_binary")
al_helm_binary(name, data, arguments, cd)
Helm binary
ATTRIBUTES
| Name | Description | Type | Mandatory | Default |
|---|---|---|---|---|
| name | A unique name for this target. | Name | required | |
| data | Helm chart | List of labels | optional | [] |
| arguments | Helm arguments | List of strings | optional | [] |
| cd | Cd to a directory before running bazel | String | optional | "." |
load("@com_alwaldend_src//tools/helm/main/bzl:al_helm_chart.bzl", "al_helm_chart")
al_helm_chart(name, deps, package, source)
Helm chart
ATTRIBUTES
| Name | Description | Type | Mandatory | Default |
|---|---|---|---|---|
| name | A unique name for this target. | Name | required | |
| deps | Helm chart deps | List of labels | optional | [] |
| package | Helm chart package | Label | optional | None |
| source | Helm chart source | Label | optional | None |
load("@com_alwaldend_src//tools/helm/main/bzl:al_helm_chart_info.bzl", "AlHelmChartInfo")
AlHelmChartInfo(source, package, deps, files_info)
Information about a helm chart
FIELDS
| Name | Description |
|---|---|
| source | Chart sources (PackageFilegroupInfo, optional) |
| package | Chart package (tgz file) |
| deps | Chart deps (depset of AlHelmChartInfo) |
| files_info | Chart file structure (PackageFilesInfo) |
load("@com_alwaldend_src//tools/helm/main/bzl:al_helm_chart_lock.bzl", "al_helm_chart_lock")
al_helm_chart_lock(name, lock, lock_out)
Generate targets for a chart lock
PARAMETERS
| Name | Description | Default Value |
|---|---|---|
| name | name | none |
| lock | lock label | none |
| lock_out | parsed lock filename | none |
al_helm_deps = use_extension("@com_alwaldend_src//tools/helm/main/bzl:al_helm_deps.bzl", "al_helm_deps")
al_helm_deps.from_locks(name, integrity, locks)
Extension to download helm dependencies
TAG CLASSES
Attributes
| Name | Description | Type | Mandatory | Default |
|---|---|---|---|---|
| name | Repo name | Name | required | |
| integrity | Intergrity for locks, keys are packages, values are integrity | Dictionary: String -> String | optional | {} |
| locks | Helm lock labels | List of labels | optional | [] |
load("@com_alwaldend_src//tools/helm/main/bzl:al_helm_deps_repo.bzl", "al_helm_deps_repo")
al_helm_deps_repo(name, integrity, locks, repo_mapping)
Helm deps repo
ATTRIBUTES
| Name | Description | Type | Mandatory | Default |
|---|---|---|---|---|
| name | A unique name for this repository. | Name | required | |
| integrity | Intergrity for locks, keys are packages, values are integrity | Dictionary: String -> String | optional | {} |
| locks | Lock labels to parse | List of labels | optional | [] |
| repo_mapping | In WORKSPACE context only: a dictionary from local repository name to global repository name. This allows controls over workspace dependency resolution for dependencies of this repository.For example, an entry "@foo": "@bar" declares that, for any time this repository depends on @foo (such as a dependency on @foo//some:target, it should actually resolve that dependency within globally-declared @bar (@bar//some:target).This attribute is not supported in MODULE.bazel context (when invoking a repository rule inside a module extension’s implementation function). |
Dictionary: String -> String | optional |
load("@com_alwaldend_src//tools/helm/main/bzl:al_helm_toolchain.bzl", "al_helm_toolchain")
al_helm_toolchain(name, helm)
Helm toolchain
ATTRIBUTES
| Name | Description | Type | Mandatory | Default |
|---|---|---|---|---|
| name | A unique name for this target. | Name | required | |
| helm | Helm binary | Label | required |