helm_push(name, chart, repository_config, repository_name, repository_url)
Publish a helm chart produced by helm_chart
rule to a remote registry.
To load the rule use:
load("//helm:defs.bzl", "helm_push")
This rule builds an executable. Use run
instead of build
to publish the chart.
ATTRIBUTES
Name | Description | Type | Mandatory | Default |
---|---|---|---|---|
name | A unique name for this target. | Name | required | |
chart | The packaged chart archive to be published. It can be a reference to a helm_chart rule or a reference to a helm archived file |
Label | required | |
repository_config | The repository config file. Used in conjunction with repository_name. It only works with oci repos by now. | Label | optional | None |
repository_name | The name of the repository from the repository config file provided to this rule. You must provide a repository_config in order to use this as the name of the repository. It only works with oci repos by now. | String | optional | "" |
repository_url | The remote url of the registry. Do not add the chart name to the url. If you provide repository_config and a repository_name attributes this field will be omitted. |
String | optional | "" |