Reduce Forgejo runner privileges and allowed volumes #7

Open
opened 2026-08-23 17:07:48 +00:00 by stanta · 0 comments
Owner

Outcome

Reduce runner privileges without breaking trusted build and deployment workflows.

Current state

The global runner LXC is privileged. Runner jobs can require Docker access, but the allowed host surface needs a focused review.

Work

  • Inventory workflows and required mounts.
  • Remove unused valid volumes and capabilities.
  • Separate build-only and deployment authority where practical.
  • Document remaining privilege requirements.
  • Test representative workflows.

Validation

  • Required workflows pass.
  • Unapproved host paths cannot be mounted.
  • Remaining privileges have concrete reasons.

References

  • iac/guides/roadmap-phase-2.md
  • iac/ansible/roles/forgejo_runner/
  • .forgejo/workflows/
## Outcome Reduce runner privileges without breaking trusted build and deployment workflows. ## Current state The global runner LXC is privileged. Runner jobs can require Docker access, but the allowed host surface needs a focused review. ## Work - [ ] Inventory workflows and required mounts. - [ ] Remove unused valid volumes and capabilities. - [ ] Separate build-only and deployment authority where practical. - [ ] Document remaining privilege requirements. - [ ] Test representative workflows. ## Validation - [ ] Required workflows pass. - [ ] Unapproved host paths cannot be mounted. - [ ] Remaining privileges have concrete reasons. ## References - `iac/guides/roadmap-phase-2.md` - `iac/ansible/roles/forgejo_runner/` - `.forgejo/workflows/`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
stanta/homelab#7
No description provided.