johann8384 / terraform-provider-helm

Terraform Helm provider

Home Page:https://www.terraform.io/docs/providers/helm/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Helm Provider for Terraform Actions Status GitHub tag (latest SemVer) license Go Report Card

Terraform logo

This is the Helm provider for Terraform.

The provider manages the installed Charts in your Kubernetes cluster, in the same way Helm does, through Terraform.

Contents

Requirements

  • Terraform v0.12.x
  • Go v1.14.x (to build the provider plugin)
  • Helm v3.x.x to deploy your charts

Getting Started

This is a small example of how to install the mariadb chart on your default kubernetes cluster, since the provider was initialized, all the configuration is retrieved from the environment. Please read the documentation for more information.

You should have a local configured copy of kubectl.

provider "helm" {
  kubernetes {
    config_path = "~/.kube/config"
  }
}

resource helm_release nginx_ingress {
  name       = "nginx-ingress-controller"

  repository = "https://charts.bitnami.com/bitnami"
  chart      = "nginx-ingress-controller"

  set {
    name  = "service.type"
    value = "ClusterIP"
  }
}

Contributing

The Helm Provider for Terraform is the work of many contributors. We appreciate your help!

To contribute, please read the contribution guidelines. You may also report an issue. Once you've filed an issue, it will follow the issue lifecycle.

Also available are some answers to Frequently Asked Questions.

About

Terraform Helm provider

https://www.terraform.io/docs/providers/helm/

License:Mozilla Public License 2.0


Languages

Language:Go 83.7%Language:Shell 7.6%Language:HCL 4.0%Language:Makefile 3.7%Language:HTML 1.0%