T9: Argo CD AppProject RBAC (flux-clusters) — from lab/iac#10 #1521

Closed
opened 2026-08-11 17:53:02 +00:00 by ginjiruu · 2 comments
Owner

Pulled in from lab/iac#10 (external ticket: lab/iac#10).

Parent

Spec: catalog-driven app bootstrapping and capability groups (lab/iac#2) — ADR-0006 / ADR-0007.

What to build

The live Argo CD RBAC (argocd-rbac-cm / AppProject policies) is wired to the capability groups, scoped per app — replacing the current g, admin, role:admin global policy (cluster-wide, exactly what the model eliminates). Lives in flux-clusters, parallel to the iac-repo sequence.

Current state: generic-templates/argo/argocd/values.yaml has g, admin, role:admin + g, user, role:readonly, scopes: [argocd_role], and application.namespaces: argocd, automation, dev-*. Only AppProject today is automation (dev-applications/automation/project.yaml) with no roles block.

Acceptance criteria

  • per-app AppProject roles grant get/sync/update per the ADR-0007 matrix (consuming the T6 input shape)
  • current global g, admin, role:admin policy replaced by scoped per-app roles
  • root maps to project admin, nothing outside the app
  • validated with argocd admin settings rbac

Blocked by

  • T6: Argo CD AppProject roles (catalog input shape) (lab/iac#8) — consumes its shape; T6 itself blocked by T1 (lab/iac#3).
> Pulled in from `lab/iac#10` (external ticket: https://git.animeteamspeak.moe/lab/iac/issues/10). ## Parent Spec: catalog-driven app bootstrapping and capability groups (`lab/iac#2`) — ADR-0006 / ADR-0007. ## What to build The live Argo CD RBAC (argocd-rbac-cm / AppProject policies) is wired to the capability groups, scoped per app — replacing the current `g, admin, role:admin` global policy (cluster-wide, exactly what the model eliminates). Lives in flux-clusters, parallel to the iac-repo sequence. Current state: `generic-templates/argo/argocd/values.yaml` has `g, admin, role:admin` + `g, user, role:readonly`, `scopes: [argocd_role]`, and `application.namespaces: argocd, automation, dev-*`. Only AppProject today is `automation` (`dev-applications/automation/project.yaml`) with no roles block. ## Acceptance criteria - [ ] per-app AppProject roles grant get/sync/update per the ADR-0007 matrix (consuming the T6 input shape) - [ ] current global `g, admin, role:admin` policy replaced by scoped per-app roles - [ ] root maps to project admin, nothing outside the app - [ ] validated with `argocd admin settings rbac` ## Blocked by - T6: Argo CD AppProject roles (catalog input shape) (`lab/iac#8`) — consumes its shape; T6 itself blocked by T1 (`lab/iac#3`).
ginjiruu changed title from External issue to T9: Argo CD AppProject RBAC (flux-clusters) — from lab/iac#10 2026-08-11 18:55:57 +00:00
Author
Owner

Work estimate

Size: M — ~1–2 days (focused agent work), plus verification time on a live cluster.

  • 0.5d — define per-app AppProject roles from the ADR-0007 matrix (viewer get+logs, developer get+sync, maintainer +update, root project admin) once T6's input shape (lab/iac#8) exists
  • 0.5d — replace g, admin, role:admin in generic-templates/argo/argocd/values.yaml with scoped per-app policies; keep role:readonly default for unauthenticated
  • 0.5d — wire projects for existing apps (only automation AppProject exists today) + application.namespaces coverage
  • 0.5d — validate with argocd admin settings rbac + smoke-test sync per role

Blocker: cannot start until T6 (lab/iac#8) lands — itself blocked by T1 (lab/iac#3). Estimate assumes the input shape arrives; re-estimate if it changes.

## Work estimate **Size: M — ~1–2 days (focused agent work), plus verification time on a live cluster.** - 0.5d — define per-app AppProject roles from the ADR-0007 matrix (viewer get+logs, developer get+sync, maintainer +update, root project admin) once T6's input shape (`lab/iac#8`) exists - 0.5d — replace `g, admin, role:admin` in `generic-templates/argo/argocd/values.yaml` with scoped per-app policies; keep `role:readonly` default for unauthenticated - 0.5d — wire projects for existing apps (only `automation` AppProject exists today) + `application.namespaces` coverage - 0.5d — validate with `argocd admin settings rbac` + smoke-test sync per role **Blocker: cannot start until T6 (`lab/iac#8`) lands — itself blocked by T1 (`lab/iac#3`).** Estimate assumes the input shape arrives; re-estimate if it changes.
Author
Owner

closed as retarded, fixed in the iac repo

closed as retarded, fixed in the iac repo
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
lab/clusters#1521
No description provided.