Skip to content

Argo CD on CRC for the argocd delivery: the install, the Application per cluster, the AppProject and the repository credential (#63 design step) #64

Open

Description

@ephico2real2

Part of #28

Why

What is wrong. deploy/environments/crc.yaml selects delivery.mode: argocd (the coordinator's decision on #63) and nothing of it exists on CRC: no Argo CD in cmapi-argocd, no Application, no AppProject, no repository credential for the Gitea stand-in. A request on CRC stops at merged. Nothing of cmapi has run on a real Argo CD.

Where. The thin slice's design step (two designs arbitrated, per CLAUDE.md), not PR #40. Open questions for it: (1) Opus's second-pass F1: with one root Application per cluster, one pending delete holds every namespace's delivery and approving it approves all; its candidate is an ApplicationSet with a git directory generator, one Application per namespace, and the renderer's annotation becoming Delete=confirm. docs/01 line 261 rejects one Application per namespace, so the design must answer that line before adopting it. (2) The OpenShift GitOps operator (default channel latest, CSV openshift-gitops-operator.v1.22.3) is AllNamespaces only; the alternative is the upstream Argo CD chart in cmapi-argocd, proven on the cmapi-test kind cluster first. (3) The 1.22.3 memory defaults are unmeasured (the 2.2 GiB figure came from the 1.16 documentation); the node has about 4 GiB of requests left.

The handover records later decisions. Argo CD Core 3.5.6 runs in cmapi-argocd. An ApplicationSet gives one Application for each namespace, with Prune=confirm,Delete=confirm on the Namespace. The design measured this on kind (docs/reviews/2026-11-05-deployment-design.md).

Acceptance criteria

  • One namespace request goes through approval, PR, merge and the Argo CD sync on CRC, and the worker's read confirms it, shown by a new proof script in deploy/, not written yet
  • oc adm top node is recorded before and after the install, shown by the same proof script, not written yet

Tasks

  • Install Argo CD on kind first (Wave 2).
  • Install Argo CD in cmapi-argocd on CRC, and adopt the objects of Wave 1 (Wave 5).
  • Create the ApplicationSet, the AppProject and the repository credential.
  • Send one real request through a real pull request, then a delete, with screenshots.

Definition of done

  • Mockup approved, or the work has no screen and no API shape
  • Draft pull request open
  • Build: tests fail before the change and pass after it
  • Review ruled
  • Merged with its proof
  • Released on the default branch

Class

INV. The task adds Argo CD delivery, which is new in the delivery.

Source

How to prove. One namespace request through approval, PR, merge and the Argo CD sync, confirmed by the worker's read, on CRC, with oc adm top node before and after. The code side (rootApplication with {namespace}, contains(), per-object status) is in PR #40 with fake tests only.

Activity

  1. added a commit that references this issue on Nov 5, 2026
  2. added
    Backlog
    class:INV
    status:open
    task
    on Nov 13, 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

    Backlogclass:INVstatus:opentask

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions