argocd-application
catalystsquad/argocd-application/kubernetes
Terraform module that provisions an ArgoCD Application in Kubernetes
terraform-kubernetes-argocd-application This module deploys an ArgoCD application custom resource. It utilizes the kubectl provider instead of the official Kubernetes provider to mitigate common problems with custom resources in Terraform, such as: Required API access during planning time, requiring multiple terraform states in order to deploy an application to Kubernetes. Sensitive values are displayed in logs, ref. Example Implementations Basic You can make use of the built-in templatefile() function to easily add secret values to the platform_services_values if secret configuration is required. ``terraform provider "kubectl" { # provider configuration ... } module "my_app" { source = "catalystsquad/argocd-application/kubernetes" name = "my-app" source_chart = "my-app" source_repo_url =
| Name | Type | Description | Default |
|---|---|---|---|
| source_chart | string | Name of Helm chart | required |
| source_repo_url | string | Helm repository URL | required |
| name | string | Name of the ArgoCD application custom resource | required |
| helm_values | string | Helm values as a raw string in YAML format | "" |
| spec_override | map(any) | Application spec override. Gets merged with the default applcation spec that's g | {} |
| namespace | string | Namespace to deploy the ArgoCD application custom resource. Should be in the sam | "argo-cd" |
| source_target_revision | string | Target revision of the helm chart | "\u003e=1.0.0" |
| sync_policy | object({ automated = objec | ArgoCD application sync policy. Defaults to a frequent automatic sync. | {
"automated": {
"prune": true,
|
| project | string | ArgoCD project to associate the application to | "default" |