Give the api container the token files only #14
Labels
No labels
bug
enhancement
epic
needs-info
needs-triage
ready-for-agent
ready-for-human
svd:go
svd:hold
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dev/mail-mind-mcp#14
Loading…
Add table
Add a link
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?
Epic: #7
Per-container secrets (ADR 0004 §7). The
apicontainer is the one that faces the internet. In 0.1.1 it mounts every runtime secret, includingimap.secret,kek.jsonand the S3 keys (deploy/k8s/base/deployment.yaml,volumeMounts: *mounts).What to build
prepareinit container writes two runtime dirs: one forapiwithconfig.toml,read.tokenandwrite.tokenwhen present; one forsyncwithconfig.tomland every other secret. Keep the uid and mode rules (owner-only,0600).backupkeeps itssecretKeyRefenv and gets neither dir.compose.yamlgets the same split.mailmind apimust not read any secret file other than the token files. Check thatcmd_apiloads no blob or account credential.deploy/k8s/base/deployment.yamlfor the new layout.Acceptance
kubectl kustomize deploy/k8s/overlays/exampleshowsapimounting only the api runtime dir.mailmind checkpath proves theapiprocess starts with only the token files present.make checkgreen.