How does Argo CD deploy a Helm chart?
AdvancedConceptSchema, Helmfile, Argo CD & Secrets
Answer
Argo CD's repo server renders the chart with the equivalent of helm template, passing the release name, namespace and values, and then applies the manifests itself (kubectl-style apply or server-side apply) and tracks health and drift. Helm is used purely as a templating engine:
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: shop-prod
namespace: argocd
spec:
project: default
source:
repoURL: 123456789012.dkr.ecr.ap-south-1.amazonaws.com/charts
chart: shop
targetRevision: 1.4.0
helm:
releaseName: shop
valuesObject:
api:
replicaCount: 3
destination:
server: https://kubernetes.default.svc
namespace: shop
syncPolicy:
automated: { prune: true, selfHeal: true }
For OCI, repoURL has no oci:// prefix and the registry must be registered in Argo CD as a Helm repo with OCI enabled.
More on Schema, Helmfile, Argo CD & Secrets
When is `values.schema.json` validated, and can it be skipped?IntermediateHow do you express "password is required only when the internal database is enabled" in a schema?AdvancedWhat is Helmfile?BeginnerShow a realistic `helmfile.yaml`.IntermediateWhat is the difference between `helmfile sync` and `helmfile apply`?IntermediateWhat are the consequences of Argo CD using `helm template` instead of `helm install`?Advanced