arrow-left

All pages
gitbookPowered by GitBook
1 of 1

Loading...

ArgoCD

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

hashtag
Example Usage


argocd-integration.tf
resource "apono_integration" "argocd-integration" {
argocd-integration.tf
resource "apono_resource_integration" "argocd-integration" {

hashtag
Schema


  • type argocd

  • connected_resource_types List of resource types to sync.

chevron-rightAvailable resource types you can usehashtag
  • argocd-global-role

  • argocd-project-role

hashtag
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

argocd-integration.json
{
    "argocd-integration": {
        "name": "ArgoCD",
        "type": "argocd",
        "connector_id": "apono-connector-id",
        "connected_resource_types": [
            "argocd-global-role"
        ],
        "integration_config": {
            "k8s_server_url": "<Kubernetes Server URL>",
            "argocd_ui_url": "<ArgoCD UI URL>",
            "k8s_certificate_authority": "<Kubernetes Certificate Authority>",
            "argo_namespace": "<ArgoCD Namespace>",
        },
	"secret_store_config": {
    	    "name": "name_template_value",
    	    "namespace": "namespace_template_value"
  	    }
    }
}

argo_namespace (Required | String) ArgoCD Namespace

  • Default value: argocd

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"
}
}
name = "ArgoCD"
type = "argocd"
connector_id = "apono-connector-id"
connected_resource_types = ["argocd-global-role"]
integration_config = {
k8s_server_url = "<Kubernetes Server URL>"
argocd_ui_url = "<ArgoCD UI URL>"
k8s_certificate_authority = "<Kubernetes Certificate Authority>"
argo_namespace = "<ArgoCD Namespace>"
}
secret_store_config = {
kubernetes = {
name = "name_template_value"
namespace = "namespace_template_value"
}
}