ArgoCD

Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes that automatically syncs applications from a Git repository to a cluster.

Example Usage


argocd-integration.tf
resource "apono_integration" "argocd-integration" {
  name                     = "ArgoCD"
  type                     = "argocd"
  connector_id             = "apono-connector-id"
  connected_resource_types = ["argocd-global-role"]
  metadata = {
    k8s_server_url = "<Kubernetes Server URL>"
    argocd_ui_url = "<ArgoCD UI URL>"
    k8s_certificate_authority = "<Kubernetes Certificate Authority>"
    argo_namespace = "<ArgoCD Namespace>"
  }
  kubernetes_secret = {
    name      = "name_template_value"
    namespace = "namespace_template_value"
  }
}

Schema


  • type argocd

  • connected_resource_types List of resource types to sync.

Available resource types you can use
  • argocd-global-role

  • argocd-project-role

Integration Config


  • k8s_server_url (Optional | String) Kubernetes Server URL

  • argocd_ui_url (Required | String) ArgoCD UI URL

  • k8s_certificate_authority (Optional | String) Kubernetes Certificate Authority

  • argo_namespace (Required | String) ArgoCD Namespace

    • Default value: argocd

Last updated

Was this helpful?