The session's image, self-test and home-cluster manifests (TUI-17) #38
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
queue
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
romaine-life/tuimail!38
Loading…
Reference in a new issue
No description provided.
Delete branch "tui-17-deploy"
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?
The third stage of TUI-17, mail as a home service: what runs the session on the home cluster.
Added
Dockerfile: buildstuimailfor Linux (SQLCipher with its own OpenSSL), crates through Artifact Keeper, base images by digest; runstuimail sessionas uid 65534.tuimail session --self-test(src/relay/selftest.rs): the image's smoke test, which the cluster-service suite runs read-only. The store encrypts (no plain text, no SQLite header, another key refused), the system's certificates are there,/healthanswers, and the relay takes a token signed by a key made for the test and refuses a bad one.k8s/(kustomize, namespacetuimail): Deployment (one replica, Recreate, read-only root, an init container giving the state volume to uid 65534 alone, since the session keeps its store only in a folder of its own), a 50 Gi state volume, Service, NetworkPolicy (8080 only), HTTPRoutetuimail.home.romaine.lifewith the down-alert annotations and no request timeout (the WebSocket stays open, as OpenProject's hocuspocus route does), ExternalSecrets foraccounts.toml(secret/home/tuimail) and the store's key (secret/services/tuimail, recovery copyromaine-kv/tuimail-session-key, both made and checked equal), and the registry pull secret.The image pin is a placeholder until this merge's release publishes the image and opens its pin PR. Nothing runs it yet: home-cluster's Argo CD app is added after that pin lands.
Unchanged: the app on the PCs.