Deploying a Helm chart in Kubernetes using Terraform
In the previous recipe, we learned how to deploy Kubernetes applications resources using Terraform and the kubernetes
provider.
Among the different ways to deploy an application in Kubernetes, there is also the possibility to use (or deploy) a Helm chart.
We will not explain here in detail the use and creation of a Helm chart, but to explain simply, a Helm chart is a package that contains a template of Kubernetes resources to deploy.
For all the details about Helm chart usage and creation, read the documentation here: https://helm.sh/docs/.
In this recipe, we will learn how to deploy a Helm chart in Kubernetes using Terraform.
Let’s get started!
Getting ready
For the cluster provisioning, we will use the existing Kubernetes cluster.
To illustrate this recipe, we will deploy a sample application, which is the nginx ingress controller. The documentation on the nginx ingress controller is available...