Interview Prep/GitOps & Argo CD/Helm, Kustomize & Multiple Sources

How do you use Helm inside Kustomize with Argo CD?

IntermediateConceptHelm, Kustomize & Multiple Sources
Answer

Add kustomize.buildOptions: --enable-helm to argocd-cm, then use the helmCharts field in kustomization.yaml:

helmCharts:
  - name: ingress-nginx
    repo: https://kubernetes.github.io/ingress-nginx
    version: 4.11.3
    releaseName: ingress
    valuesFile: values.yaml
patches:
  - path: patch-service.yaml

This lets you patch chart output with Kustomize, useful when a chart lacks a value for what you need.

All GitOps & Argo CD questions Roadmap: Argo CD (GitOps)

More on Helm, Kustomize & Multiple Sources