A chart repository is a location where packaged charts can be stored and shared.
helm_repository
describes the desired status of a helm repository.
resource "helm_repository" "incubator" {
name = "incubator"
url = "https://kubernetes-charts-incubator.storage.googleapis.com"
}
resource "helm_release" "my_cache" {
name = "my_cache"
repository = "${helm_repository.incubator.metadata.0.name}"
chart = "redis-cache"
}
The following arguments are supported:
name
- (Required) Chart repository name.url
- (Required) Chart repository URL.key_file
- (Optional) Identify HTTPS client using this SSL key filecert_file
- (Optional) Identify HTTPS client using this SSL certificate file.ca_file
- (Optional) Verify certificates of HTTPS-enabled servers using this CA bundle
In addition to the arguments listed above, the following computed attributes are exported:
metadata
- Status of the deployed release.
The metadata
block supports:
name
- Name of the repository read from the home.url
- URL of the repository read from the home.
helm_release can be imported using the , e.g.
$ terraform import helm_release.example ...