helm_push rules.
Rules
helm_push
load("@rules_helm//helm:helm_push.bzl", "helm_push")
helm_push(name, env, include_images, login_url, opts, package, push_cmd, registry_url,
registry_url_file)
Produce an executable for performing a helm push to a registry.
Before performing helm push the executable produced will conditionally perform helm registry login
if the following environment variables are defined:
HELM_REGISTRY_USERNAME: The value of--username.HELM_REGISTRY_PASSWORD/HELM_REGISTRY_PASSWORD_FILE: The value of--passwordor a file containing the--passwordvalue.
ATTRIBUTES
| Name | Description | Type | Mandatory | Default |
|---|---|---|---|---|
| name | A unique name for this target. | Name | required | |
| env | Environment variables to set when running this target. | Dictionary: String -> String | optional | {} |
| include_images | If True, images depended on by package will be pushed as well. | Boolean | optional | False |
| login_url | The URL of the registry to use for helm login. E.g. my.registry.io | String | optional | "" |
| opts | Additional arguments to pass to helm commands. | List of strings | optional | [] |
| package | The helm package to push to the registry. | Label | required | |
| push_cmd | An alternative command to push for publishing the helm chart. E.g. cm-push | String | optional | "" |
| registry_url | The registry URL at which to push the helm chart to. E.g. oci://my.registry.io/chart-name. Mutually exclusive with registry_url_file. | String | optional | "" |
| registry_url_file | A file containing the registry URL at which to push the helm chart to. Mutually exclusive with registry_url. | Label | optional | None |
helm_push_images
load("@rules_helm//helm:helm_push.bzl", "helm_push_images")
helm_push_images(name, env, package)
Produce an executable for pushing all oci images used by a helm chart.
ATTRIBUTES
| Name | Description | Type | Mandatory | Default |
|---|---|---|---|---|
| name | A unique name for this target. | Name | required | |
| env | Environment variables to set when running this target. | Dictionary: String -> String | optional | {} |
| package | The helm package to upload images from. | Label | required |
helm_push_registry
load("@rules_helm//helm:helm_push.bzl", "helm_push_registry")
helm_push_registry(name, env, include_images, login_url, opts, package, push_cmd, registry_url,
registry_url_file)
Produce an executable for performing a helm push to a registry.
Before performing helm push the executable produced will conditionally perform helm registry login
if the following environment variables are defined:
HELM_REGISTRY_USERNAME: The value of--username.HELM_REGISTRY_PASSWORD/HELM_REGISTRY_PASSWORD_FILE: The value of--passwordor a file containing the--passwordvalue.
ATTRIBUTES
| Name | Description | Type | Mandatory | Default |
|---|---|---|---|---|
| name | A unique name for this target. | Name | required | |
| env | Environment variables to set when running this target. | Dictionary: String -> String | optional | {} |
| include_images | If True, images depended on by package will be pushed as well. | Boolean | optional | False |
| login_url | The URL of the registry to use for helm login. E.g. my.registry.io | String | optional | "" |
| opts | Additional arguments to pass to helm commands. | List of strings | optional | [] |
| package | The helm package to push to the registry. | Label | required | |
| push_cmd | An alternative command to push for publishing the helm chart. E.g. cm-push | String | optional | "" |
| registry_url | The registry URL at which to push the helm chart to. E.g. oci://my.registry.io/chart-name. Mutually exclusive with registry_url_file. | String | optional | "" |
| registry_url_file | A file containing the registry URL at which to push the helm chart to. Mutually exclusive with registry_url. | Label | optional | None |