Repository navigation
Closed
Description
Goal
Add Argo CD support to Chant and use it to split the deploy story into clear layers:
- Chant authors typed infra -> manifests
- Argo CD continuously reconciles the declarative manifests (the apply layer)
- Temporal orchestrates the genuinely procedural steps Argo cannot express (ordering, signals, human gates, one-shot RPCs)
Architecture decision (locked)
Argo's Application / ApplicationSet / AppProject are K8s CRDs (argoproj.io). We extend the existing k8s lexicon (the KubeRay precedent) rather than building a standalone lexicon:
- CRDs registered in
lexicons/k8s/src/crd/crd-sources.ts; codegen producesK8s::Argo::*. - Value-add ships as composites + skill + lint/post-synth checks + example/tutorial, like Ray.
- Types, serializer, LSP, hover, MCP, coverage, validate are inherited from the mature k8s lexicon — no new completeness bar to clear.
Design decisions (locked)
- The k8s lexicon stays runtime-agnostic — it only emits manifests. Argo is opt-in via composites, never implied.
waitForArgoSynclives inlexicons/temporalas a dependency-free runtime activity (primitives-only signature; must NOT import argo/k8s types). A bridge package is only created later if a composite needs both lexicons' types together.
Issues (in build order)
- feat(k8s): add argoproj.io CRD sources + regenerate #101 — feat(k8s): add argoproj.io CRD sources + regenerate (foundational)
- feat(k8s): Argo lint rules + post-synth checks #104 — feat(k8s): Argo lint rules + post-synth checks
- feat(k8s): Argo composites (ArgoAppFor / ArgoAppSetForRegions / cluster register) #105 — feat(k8s): Argo composites (ArgoAppFor / ArgoAppSetForRegions / cluster register)
- feat(k8s): chant-k8s-argo skill #110 — feat(k8s): chant-k8s-argo skill
- feat(temporal): waitForArgoSync activity + argoSync profile #106 — feat(temporal): waitForArgoSync activity + argoSync profile
- feat(example): argo-cd-gke minimal on-ramp #107 — feat(example): argo-cd-gke minimal on-ramp
- refactor(example): temporal-crdb-deploy uses Argo for apply phases #108 — refactor(example): temporal-crdb-deploy uses Argo for apply phases
- docs: Argo CRD support page + tutorial + split guidance #109 — docs: Argo CRD support page + tutorial + split guidance
Absorbed / closed
feat(argo): AppProject resource + external Cluster registration #102 AppProject + Cluster-> absorbed into feat(k8s): add argoproj.io CRD sources + regenerate #101 (codegen) + feat(k8s): Argo composites (ArgoAppFor / ArgoAppSetForRegions / cluster register) #105 (cluster helper)feat(argo): ApplicationSet resource (list/cluster/git generators) #103 ApplicationSet-> absorbed into feat(k8s): add argoproj.io CRD sources + regenerate #101 (codegen)
Out of scope (for now)
delivery: 'argo'config sugar in chant.config.ts- Flux support (parallel initiative)
- ApplicationSet pull-request generator
Metadata
Metadata
Assignees
Labels
No labels
Activity
[-]meta: Argo CD lexicon + Temporal apply/orchestrate split[/-][+]meta: Argo CD support in k8s lexicon + Temporal apply/orchestrate split[/+]feat(k8s): add argoproj.io CRD sources + regenerate (#101) (#189)
feat(k8s): Argo lint rules + post-synth checks (#104) (#190)
feat(k8s): Argo composites (ArgoAppFor / ArgoAppSetForRegions / regis…
feat(temporal): waitForArgoSync activity + argoSync profile (#106) (#192
feat(k8s): chant-k8s-argo skill (#110) (#193)
feat(example): argo-cd-gke minimal on-ramp (#107) (#194)
refactor(example): temporal-crdb-deploy uses Argo for apply phases (#108
docs: Argo CRD page + tutorial + split guidance (#109) (#196)
lex00 commentedon Jun 4, 2026
All sub-issues shipped and merged to main; CI green (chant + docs).
K8s::Argo::{Application,ApplicationSet,AppProject}ArgoAppFor/ArgoAppSetForRegions/registerArgoClustercompositeschant-k8s-argoskillwaitForArgoSyncactivity +argoSyncprofile (dependency-free)argo-cd-gkeminimal on-ramp exampletemporal-crdb-deployrefactor — Argo owns apply, Temporal keeps proceduralArchitecture held to the locked decisions: extended the existing k8s lexicon (KubeRay precedent), kept it runtime-agnostic (Argo opt-in via composites), and kept
waitForArgoSyncdependency-free.Out of scope as noted:
delivery: 'argo'config sugar, Flux, ApplicationSet PR generator.