Terraform Module to deploy Helm Apps to your Kubernetes Cluster.
This Terraform module deploys Helm releases to your Kubernetes cluster using the helm_release
provider. The module defines default configurations for various applications, and you can easily deploy these applications by specifying them in the apps
list. If you need to override the default values, you can provide your own values file.
- Deploy multiple Helm releases by specifying their names.
- Use default configurations or provide custom values.
- Automatically creates namespaces if specified.
A list of available apps can be found in the variable release
defined in ./variables.tf.
To install them, you can pass them to the apps
list variable, for a example see examples.
No requirements.
Name | Version |
---|---|
helm | n/a |
null | n/a |
No modules.
Name | Type |
---|---|
helm_release.apps | resource |
null_resource.wait_for_cluster | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
apps | List of apps that will be deployed. | list(string) |
[] |
no |
cluster_endpoint | The endpoint of the Kubernetes cluster. | string |
null |
no |
cluster_ready_trigger | A trigger to indicate the Kubernetes cluster is ready. | any |
n/a | yes |
release | n/a | map(object({ |
{ |
no |
No outputs.
You can see a full example at ./example/.
module "kubernetes" {
source = "git::https://github.com/ruanbekker/terraform-kubernetes-vultr-module.git?ref=stable"
cluster_name = "test-cluster"
cluster_version = "v1.29.4+1"
}
module "apps" {
source = "../"
apps = [
"whoami"
]
cluster_endpoint = module.kubernetes.endpoint
cluster_ready_trigger = module.kubernetes
}