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.
More on Helm, Kustomize & Multiple Sources
How does Argo CD deploy a Helm chart?BeginnerWhat are the consequences of Argo CD using `helm template` rather than `helm install`?IntermediateWhat are the ways to provide Helm values in an Application?BeginnerHow do you deploy a chart from an OCI registry?IntermediateHow does Argo CD deploy Kustomize, and what overrides can the Application set?BeginnerWhat are multiple sources, and what is the `$values` reference?Intermediate