Interview Prep/Helm/Schema, Helmfile, Argo CD & Secrets

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.

All Helm questions Roadmap: Helm

More on Schema, Helmfile, Argo CD & Secrets