https://github.com/aigisuk/terraform-kubernetes-argocd
A Terraform Module to deploy ArgoCD (v2.6.6) on a Kubernetes Cluster via Helm
https://github.com/aigisuk/terraform-kubernetes-argocd
argocd cicd devops gitops helm helm-chart helm-charts kubernetes terraform terraform-module
Last synced: about 3 hours ago
JSON representation
A Terraform Module to deploy ArgoCD (v2.6.6) on a Kubernetes Cluster via Helm
- Host: GitHub
- URL: https://github.com/aigisuk/terraform-kubernetes-argocd
- Owner: aigisuk
- License: mit
- Created: 2022-01-19T03:17:58.000Z (over 4 years ago)
- Default Branch: release
- Last Pushed: 2023-03-22T06:33:08.000Z (over 3 years ago)
- Last Synced: 2026-06-06T00:06:45.717Z (about 1 month ago)
- Topics: argocd, cicd, devops, gitops, helm, helm-chart, helm-charts, kubernetes, terraform, terraform-module
- Language: HCL
- Homepage: https://registry.terraform.io/modules/aigisuk/argocd/kubernetes/latest
- Size: 46.9 KB
- Stars: 13
- Watchers: 1
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Terraform Helm ArgoCD Module
A Terraform module to deploy [ArgoCD](https://argoproj.github.io/cd/) on a Kubernetes Cluster using the [Helm Provider](https://registry.terraform.io/providers/hashicorp/helm).

## Default Admin Password
If the `admin_password` input variable is **not** set, the initial password for the `admin` user account is auto-generated and stored as clear text in the field `password` in a secret named `argocd-initial-admin-secret` in your Argo CD installation namespace. You can retrieve this password using `kubectl`[^1]:
```
kubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d; echo
```
## Disable TLS on the ArgoCD API?
Many ingress controllers require ArgoCD's API server be run with TLS disabled[^2]. Set the `insecure` variable to `true` to achieve this.
## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|:----:|:-----:|:-----:|
| release_name | Helm release name | string | `argocd` | no |
| namespace | Namespace to install ArgoCD chart into (created if non-existent on target cluster) | string | `argocd` | no |
| argocd_chart_version | Version of ArgoCD chart to install | string | `5.27.1` | no |
| timeout_seconds | Helm chart deployment can sometimes take longer than the default 5 minutes. Set a custom timeout (secs) | number | `800` | no |
| admin_password | Default Admin password | string | empty | no |
| insecure | Disable TLS on the ArogCD API Server? | bool | `false` | no |
| enable_dex | Enable Argo CD's Dex Server? | bool | `true` | no |
| values_file | Name of the ArgoCD helm chart values file to use | string | `values.yaml` | no |
[^1]: [ArgoCD Documentation - Login Using The CLI](https://argo-cd.readthedocs.io/en/stable/getting_started/#4-login-using-the-cli)
[^2]: [ArgoCD Documentation - Ingress Configuration](https://argo-cd.readthedocs.io/en/stable/operator-manual/ingress/)