Skip to content

Deploying Helm charts with ArgoCD and Kustomize

Resources:

Some workloads are deployed from Helm packages. There are multiple ways to do this with ArgoCD. This repo tries to use Kustomize for all deployment configuration management, including managing Helm packages. The workload is configured with the normal base/ overlays Kustomize pattern, with the Helm chart defined in the base kustomization.yaml. ArgoCD will then look after inflating the chart and patching it when it builds the ArgoCD application.

To do this, ArgoCD must be told to use Helm in its internal Kustomize executable with the kustomizeBuildOptions: "--enable-helm" flag. This can be done by patching the argocd-cm ConfigMap.

A kustomization.yaml set up in this method can be built locally to test it works with kustomize build . --enable-helm.


Last update: June 13, 2024 16:06:52
Created: June 13, 2024 16:06:52
Authors: smp4