You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
P0 UDE: persistent Cloud volume and dedicated least-privilege Kubernetes service account #116
src/commands/up/manifest.rs mounts /var/lib/cloud as emptyDir and uses namespace default SA; down scales Deployment to zero, so pod-local data can be deleted. Logs: KMS informer cannot list pods; platform cannot list batch jobs. src/commands/up/kube.rs apply_workload only applies Deployment/Service and src/commands/up/supervisor.rs attaches registry pull secret to default SA. Coordinate Cloud Makefile stop behavior. Implement dedicated namespaced cloud SA and minimal verified permissions for actual pod/job watches; if code lists across namespaces, configure namespace-scoped informers where possible rather than broad cluster access. Apply SA/Role/RoleBinding/PVC before Deployment in both cold and warm/native paths; attach pull secret to dedicated SA, no cluster-admin, no secret wildcard. Persistent volume backed by VM durable filesystem/local-path; first migration must preserve existing live emptyDir bytes and encryption key with explicit backup/restore and refuse unsafe migration; do not simply roll out and lose IAM/JetStream/data. down/stop keep state; only explicit reset wipes. E2E seed IAM user/record/event, down/up, stop/start, upgrade local image; prove records and event delivery persist, no RBAC denied, unauthorized access denied, no data loss on failed migration. Avoid deleting existing state on a normal start.
Activity
linear commentedon Nov 27, 2026
HAI-559