Skip to content

ArgoCD Plugin

ArgoCD can use helmwave for rendering kubernetes manifests. In this case, helmwave will be a template engine, not a deployment tool. So features like kubedog and monitors will not work.

You can find more information here

We will modify original argocd helm values

Enable Config Management Plugins (CMP)

configs:
  cmp:
    create: true

Define plugins

repoServer:
  extraContainers:
    - name: helmwave-plugin
      command: [ /var/run/argocd/argocd-cmp-server ]
      args: [ --loglevel, debug ]
      image: ghcr.io/helmwave/helmwave:0.41.4

Since v0.40.0 you can use special gitops image

Command for generation manifests

configs:
  cmp:
    plugins:
      helmwave-plugin:
        generate:
          command: [ "/bin/ash", "-c" ]
          args:
            - |
              helmwave build &> /tmp/log.txt && find .helmwave/manifest -type f | xargs cat

full example