Skip to content

Latest commit

 

History

History
45 lines (41 loc) · 1.68 KB

argocdapp_plugin.md

File metadata and controls

45 lines (41 loc) · 1.68 KB

1 argocdapp Plugin

This plugin creates an ArgoCD Application.

Notes:

  • ArgoCD itself must have been already installed before the usage of this plugin. To install ArgoCD, use this plugin.
  • Currently, only the Helm chart is supported when creating the ArgoCD application.
  • At the moment, DevStream doesn't support dependency or concurrency yet. So, in the config file, the ArgoCD app plugin must be placed after the ArgoCD plugin if you want to install ArgoCD first then create the ArgoCD application.

2 Usage:

tools:
- name: helloworld
  plugin:
    # name of the plugin
    kind: argocdapp
    # version of the plugin
    # checkout the version from the GitHub releases
    version: 0.2.0
  # optional; if specified, dtm will make sure the dependency is applied first before handling this tool.
  dependsOn: [ "TOOL1_NAME.TOOL1_KIND", "TOOL2_NAME.TOOL2_KIND" ]
  # options for the plugin
  options:
    # information on the ArgoCD application
    app:
      # name of the ArgoCD application
      name: hello
      # where the ArgoCD application CRD will be created
      namespace: argocd
    # destination of the application
    destination:
      # on which server to deploy
      server: https://kubernetes.default.svc
      # in which namespace to deploy
      namespace: default
    # source of the application
    source:
      # which values file to use in the Helm chart
      valuefile: values.yaml
      # path of the Helm chart
      path: charts/go-hello-http
      # Helm chart repo URL, this is only an example, do not use this
      repoURL: https://github.com/ironcore864/openstream-gitops-test.git