Skip to content

feat(k8s): Argo composites (ArgoAppFor / ArgoAppSetForRegions / cluster register) #105

Closed

Description

@lex00

Part of #100.

Scope

Add Argo composites to lexicons/k8s/src/composites/, mirroring the ray-*.ts composites.

  • ArgoAppFor(target, { destination, repo, path, syncPolicy?, project? }) — turns a Chant build target into a K8s::Argo::Application in one call.
  • ArgoAppSetForRegions(regions, fn) — per-region pattern, emitting an ApplicationSet (or N Applications).
  • registerArgoCluster({ name, server, ... }) — emits the cluster-registration Secret (label argocd.argoproj.io/secret-type: cluster).

Acceptance criteria

  • One ArgoAppFor call replaces ~30 lines of hand-written Application YAML.
  • ArgoAppSetForRegions(['east','central','west'], ...) produces 3 synced Applications.
  • composites.test.ts covers props/defaults/dependencies for each.
  • Used by the argo-cd-gke example (feat(example): argo-cd-gke minimal on-ramp #107).

Dependencies

Depends on the CRD-sources issue (#101).

Activity

  1. changed the title [-]feat(argo): ArgoAppFor + ArgoAppSetForRegions composites[/-] [+]feat(k8s): Argo composites (ArgoAppFor / ArgoAppSetForRegions / cluster register)[/+] on May 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions