helm-chart
dansible/helm-chart/null
Terraform module to install any Helm chart onto a K8s cluster
Helm Chart This Terraform module installs a Helm chart on a K8s cluster. It is useful for overcoming the limitations of the main Helm release resource when you want to spin up a cluster and use it as a provider for k8s resources within the same Terraform plan. - Usage - Variables - Links Usage Here are a few different examples for how to use this module: Cert-Manager ``hcl module "cert-manager" { source = "[email protected]:dansible/terraform-null-helm-chart.git?ref=v0.0.2" # This is assumed to be the output of the GKE module but can be any Kubeconfig kubeconfig = "${module.k8s.kubeconfig}" # This is used to manage install/uninstall process enabled = true # This is assumed to be the output of the Helm install module but can be any TF resource depends_on = "${module.helm.dependency}" name = "c
| Name | Type | Description | Default |
|---|---|---|---|
| kubeconfig | string | Kubeconfig for cluster in which the chart will be installed. | required |
| values | string | Content of Helm values file rendered as a string. | "" |
| pre-install-cmds | string | Custom commands to run before installing chart. | "" |
| post-install-cmds | string | Custom commands to run after installing chart. | "" |
| post-destroy-cmds | string | Custom commands to run after running `helm delete --purge`. | "" |
| depends_on | list | Dummy variable to enable module dependencies. | [] |
| enabled | string | Whether to enable this module. This allows for the chart to be properly uninstal | true |
| name | string | The name to assign to the chart & temporary resources. | "certmanager" |
| chart_name | string | The name of the chart to install. | "stable/cert-manager" |
| chart_version | string | Version of the Chart. | "0.0.1" |
| namespace | string | The namespace to install the chart to. | "default" |
| helm-extra-args | string | Extra arguments to pass to helm command. | "" |
| pre-destroy-cmds | string | Custom commands to run before running `helm delete --purge`. | "" |
dependency — Dummy output to enable module dependencies.