Skip to content

Latest commit

 

History

History
50 lines (34 loc) · 1.29 KB

repository.md

File metadata and controls

50 lines (34 loc) · 1.29 KB

Resource: helm_repository

A chart repository is a location where packaged charts can be stored and shared.

helm_repository describes the desired status of a helm repository.

Example Usage

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"
}

Argument Reference

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 file
  • cert_file - (Optional) Identify HTTPS client using this SSL certificate file.
  • ca_file - (Optional) Verify certificates of HTTPS-enabled servers using this CA bundle

Attributes Reference

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.

Import

helm_release can be imported using the , e.g.

$ terraform import helm_release.example ...