Route write-token files to the api container in the k8s base #124
Labels
No labels
bug
enhancement
epic
needs-info
needs-triage
ready-for-agent
ready-for-human
svd:fire
svd:go
svd:hold
svd:respec
svd:skip
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dev/people-mind-mcp#124
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?
Outcome
The k8s base delivers write-token files to the
apicontainer, so a write token deployed by starbase/iac#345 reaches the API and the write tools mount.Context
[[auth.write_tokens]]list. Each entry names atoken_filethat theapiprocess reads.preparestep (deploy/k8s/base/deployment.yaml:31-38) copies onlyread-tokeninto/prepared/api/. It sends every other file under/secrets/to/prepared/sync/. A write-token file would land in thesynccontainer, and the API would refuse to start withsecret-unreadable.ready-for-humanunder CONV-40 test 3. No token is minted here.Scope
/prepared/api/and keep them out of/prepared/sync/. Choose a naming rule for them (for example awrite-token-prefix) and document it in the README deployment section.tests/test_deploy.pyto cover the routing.Acceptance criteria
preparestep copies it to/prepared/api/only.read-tokenstill goes to/prepared/api/, and every other secret still goes to/prepared/sync/only.Blocked by
Already implemented by #157 (
6aaedf9). The base prepare init container copiesread-tokenand everywrite-token*key to/prepared/api/only, and every other secret to/prepared/sync/. The README deployment section documents the naming rule, andtests/test_deploy.pycovers the routing. starbase/iac#347 deployed it with 0.2.0-rc.2. Closing as done.