App catalog: redesign before anything new consumes it (paused) #103
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lab/iac#103
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal: decide how apps are described once and then turned into OpenBao policies, Kanidm groups, Forgejo orgs and repos, and cluster placement.
apps/catalog.yaml(ADR-0006) is half-finished. OpenBao (vault/apps.tf) and Kanidm (kanidm/apps.tf) already apply it in production forprivatebinandsyncthing. The Forgejo root's use of it is switched off (forgejo/apps.tf), and its orgs and repos were never created.Paused on purpose. Things to settle when this resumes:
sveltos-clusterprofilesbranch).privatebin/syncthingOpenBao and Kanidm objects stay or go.Closed as superseded: lab/iac#30 (VSO roles) and lab/iac#33 (multi-cluster catalog).
Concrete gap from the 2026-11-21 DNS cutover audit: an autonomous agent fixing an app could not touch the app's secrets.
account.sqlite, but the source of truth forACTUAL_OPENID_SERVER_HOSTNAMEis KVsecret/actual-budget-secretsin mini's legacy Vault (the store behindClusterSecretStore/vault-backend). The agent had no identity there (~/.vault-tokenis a c1 OpenBao token, 403 on mini), so that value is still the deadhttps://actual.animeteamspeak.moe. It's harmless until actual's DB is recreated, then OIDC breaks again.auth/oidcrole needed the internal UI callback, with the same blocker. Only a root or admin token can write it.What the catalog needs to cover when #103 resumes:
manual-secret-manager(ADR-0006: CRUD on the app'smanual/class) can be granted to an agent for one app, not only to people.vault-backendconsumer), or a migration of those paths to c1 OpenBao under the catalog layout, so the capability actually reaches the secret the app reads.Until then, every fix of this kind ends with "human must write the secret".