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:
      # 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:
        # local path of the chart; if chartPath != "", repo.name and repo.url will be ignored. e.g. "foo.tgz", "./foo.tgz", "/tmp/foo.tgz"
        chartPath: ""
        # name of the chart
        chartName: argo/argo-cd
        # release name of the chart
        releaseName: 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)
        valuesYaml: |
          controller:
            service:
              port: 8080

Default Configs

key default value description
chart.chartPath "" local chart path
chart.chartName argo/argo-cd chart name
chart.timeout 5m this config will wait 5 minutes to deploy argocd
chart.upgradeCRDs true default update CRD config
chart.releaseName argocd helm release name
chart.namespace argocd namespace where helm to deploy
chart.wait true whether to wait until installation is complete
repo.url https://argoproj.github.io/argo-helm helm official repo address
repo.name argo helm repo name

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