fix(agent): grant worker mounted transport access
Some checks failed
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 2m39s
CD Pipeline / build-and-deploy (push) Successful in 5m26s
CD Pipeline / post-deploy-checks (push) Has been cancelled

This commit is contained in:
ogt
2026-07-10 17:39:03 +08:00
parent ee3d53fa4a
commit 83e113c236
2 changed files with 3 additions and 0 deletions

View File

@@ -22,6 +22,7 @@ def test_worker_manifest_mounts_existing_ssh_mcp_transport() -> None:
assert 'command: ["python", "-m", "src.workers.signal_worker"]' in manifest
assert "serviceAccountName: awoooi-executor" in manifest
assert "fsGroup: 1000" in manifest
assert "ENABLE_AWOOOP_ANSIBLE_CHECK_MODE_WORKER" in manifest
assert "ENABLE_AWOOOP_ANSIBLE_CONTROLLED_APPLY" in manifest
assert "AWOOOP_ANSIBLE_CHECK_MODE_STARTUP_SLEEP_SECONDS" in manifest

View File

@@ -44,6 +44,8 @@ spec:
environment: prod
component: signal-processor
spec:
securityContext:
fsGroup: 1000
# 2026-07-01 Codex: keep hostname spread as a preference, not a hard
# scheduler blocker, so reboot recovery and GitOps rollouts do not deadlock.
topologySpreadConstraints: