argocd
DeimosCloud/argocd/kubernetes
A terraform Module to deploy Argocd on Kubernetes
Terraform-argocd Setup ArgoCD on cluster using terraform. This uses the Argocd helm chart to deploy argocd into the cluster. You can pass extra params via var.values to customize your deployments Usage > NOTE: Ensure Helm Provider and kubectl provider is configureed are correct Argocd with Nginx Ingress Controller ```hcl providers.tf ... provider "helm" { kubernetes { config_path = "~/.kube/config" } } provider "kubectl" { load_config_file = true config_path = "~/.kube/config" } ... main.tf ... locals { # Example annotations when using Nginx ingress controller as shown here https://argoproj.github.io/argo-cd/operator-manual/ingress/#option-1-ssl-passthrough argocd_ingress_annotations = { "kubernetes.io/ingress.class" = nginx "nginx.ingress.kubernetes.io/force-ssl-redirect" = "true" "nginx.
| Name | Type | Description | Default |
|---|---|---|---|
| ingress_host | string | The ingress host | required |
| image_tag | string | Image tag to install | required |
| namespace | string | The namespace to deploy argocd into | "argocd" |
| repositories | list(map(string)) | A list of repository defintions | [] |
| server_extra_args | list | Extra arguments passed to argoCD server | [] |
| ingress_tls_secret | string | The TLS secret name for argocd ingress | "argocd-tls" |
| manifests_directory | string | Path/URL to directory that contains manifest files to be applied after argocd is | "" |
| rbac_config | map | Additional rbac config to be added to the Argocd rbac configmap | {} |
| values | map | Extra Values to pass to the Argocd Helm Deployment | {} |
| chart_version | string | version of charts | "4.5.10" |
| server_insecure | bool | Whether to run the argocd-server with --insecure flag. Useful when disabling arg | false |
| ingress_annotations | map | annotations to pass to the ingress | {} |
| config | map | Additional config to be added to the Argocd configmap | {} |
namespace — the kubernetes namespace of the releaserelease_name — the name of the releaseserver_url — The server URL of argocd created by ingress