T4: k8s namespace + capability Roles #7

Closed
opened 2026-08-11 15:20:37 +00:00 by ginjiruu · 0 comments
Owner

Parent

Spec: catalog-driven app bootstrapping and capability groups (#2)

What to build

Each catalog app gets its namespace plus a namespace-scoped k8s Role per capability group per ADR-0007 — so a developer's group membership maps to the right k8s RBAC without any cluster-wide power.

Acceptance criteria

  • k8s tenant module creates namespace per app
  • Role per capability: viewer get/list non-secret; contributor read; developer edit non-secret; maintainer edit+write; live-debugging get pods + create on pods/exec, pods/attach, pods/portforward; k8s-secret-viewer get/list secrets; root Role * incl secrets
  • all Roles namespace-scoped (no ClusterRole; storage classes/gateways/ingress classes stay cluster-operator resources)
  • tofu validate + tofu plan pass

Blocked by

  • T1: Fix provider resolution + catalog schema (prefactor) (#3)
## Parent Spec: catalog-driven app bootstrapping and capability groups (#2) ## What to build Each catalog app gets its namespace plus a namespace-scoped k8s Role per capability group per ADR-0007 — so a developer's group membership maps to the right k8s RBAC without any cluster-wide power. ## Acceptance criteria - [ ] k8s tenant module creates namespace per app - [ ] Role per capability: viewer get/list non-secret; contributor read; developer edit non-secret; maintainer edit+write; live-debugging get pods + create on pods/exec, pods/attach, pods/portforward; k8s-secret-viewer get/list secrets; root Role `*` incl secrets - [ ] all Roles namespace-scoped (no ClusterRole; storage classes/gateways/ingress classes stay cluster-operator resources) - [ ] `tofu validate` + `tofu plan` pass ## Blocked by - T1: Fix provider resolution + catalog schema (prefactor) (#3)
Sign in to join this conversation.
No milestone
No project
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/iac#7
No description provided.