- Description
- Providers
- Resources
- Inputs
- Outputs
- Requirements
- Examples
- How to Contribute
- Authors
- License
This repository contains a Terraform module for deploying Helm charts using the Helm provider. It's designed to be flexible and easy to use, allowing you to deploy a variety of applications with a single module. The module takes a map of applications as input, each with its own set of configuration options.
Name | Version |
---|---|
helm | 2.13.1 |
Name | Type |
---|---|
helm_release.this | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
apps | Map of applications to deploy | map(object({ |
n/a | yes |
Name | Description |
---|---|
deployment | The state of the helm deployment |
No requirements.
## Provider Configuration
provider "aws" {
region = "eu-west-1"
}
## Helm Release Module
module "example" {
source = "../../"
apps = {
app1 = {
namespace = "argocd"
name = "argocd"
repository = "https://argoproj.github.io/argo-helm"
chart = "argo-cd"
version = "v6.7.14"
},
app2 = {
namespace = "jenkins"
name = "jenkins"
repository = "https://charts.jenkins.io"
chart = "jenkins"
version = "v6.7.14"
repository_key_file = "path/to/keyfile"
repository_cert_file = "path/to/certfile"
repository_ca_file = "path/to/cafile"
repository_username = "username"
repository_password = "password"
set = [
{
name = "key1"
value = "value1"
},
{
name = "key2"
value = "value2"
}
]
set_sensitive = [
{
path = "secret1"
value = "sensitive_value1"
}
]
}
}
}
## Outputs
output "deployment" {
value = module.example.deployment
description = "The state of the helm deployment"
}
Submit a pull request
Currently maintained by Carlos García
Apache 2.0 Licensed. See LICENSE for full details.