Skip to content

argocd Plugin

This plugin installs ArgoCD in an existing Kubernetes cluster using the Helm chart.

Usage

YAML
tools:
  # name of the tool
  - name: argocd
    # id of the tool instance
    instanceID: default
    # format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool.
    dependsOn: [ ]
    # options for the plugin
    options:
      # need to create the namespace or not, default: false
      create_namespace: true
      # Helm repo information, this section is optional
      repo:
        # name of the Helm repo
        name: argo
        # url of the Helm repo
        url: https://argoproj.github.io/argo-helm
      # Helm chart information
      chart:
        # name of the chart
        chart_name: argo/argo-cd
        # release name of the chart
        release_name: argocd
        # k8s namespace where ArgoCD will be installed
        namespace: argocd
        # whether to wait for the release to be deployed or not
        wait: true
        # the time to wait for any individual Kubernetes operation (like Jobs for hooks). This defaults to 5m0s
        timeout: 5m
        # whether to perform a CRD upgrade during installation
        upgradeCRDs: true
        # custom configuration (Optional). You can refer to [ArgoCD values.yaml](https://github.com/argoproj/argo-helm/blob/master/charts/argo-cd/values.yaml)
        values_yaml: |
          controller:
            service:
              port: 8080

Default Configs

key default value description
chart.chart_name argo/argo-cd argocd's official chart name
chart.timeout 5m this config will wait 5 minutes to deploy argocd
upgradeCRDs true default update CRD config
chart.wait true whether to wait until install is complete
repo.url https://argoproj.github.io/argo-helm helm repo address
repo.name argo helm repo name

Currently, except for values_yaml and default configs, all the parameters in the example above are mandatory.