fix: [nomad-step-3] S3-fix-5 — nomad/client.hcl must allow_privileged for woodpecker-agent (#961)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/push/nomad-validate Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
ci/woodpecker/pr/nomad-validate Pipeline was successful
ci/woodpecker/pr/secret-scan Pipeline was successful

This commit is contained in:
dev-qwen2 2026-04-17 12:48:08 +00:00
parent 9c4c5f1ac8
commit fbcc6c5e43

View file

@ -64,11 +64,11 @@ client {
# Docker task driver. `volumes.enabled = true` is required so jobspecs # Docker task driver. `volumes.enabled = true` is required so jobspecs
# can mount host_volume declarations defined above. `allow_privileged` # can mount host_volume declarations defined above. `allow_privileged`
# stays false no factory workload needs privileged containers today, # is true — woodpecker-agent requires `privileged = true` to access
# and flipping it is an audit-worthy change. # docker.sock and spawn CI pipeline containers.
plugin "docker" { plugin "docker" {
config { config {
allow_privileged = false allow_privileged = true
volumes { volumes {
enabled = true enabled = true