|
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Woodpecker's K8s backend creates a PVC per pipeline for workspace sharing. If the agent misses cleanup, stale PVCs cause "already exists" errors that mark pipelines as failed despite all steps succeeding. Two-part fix: 1. Scale woodpecker-agent from 2 to 1 replica (eliminates PVC name race between agents processing the same repo) 2. Add CronJob that garbage-collects wp-* PVCs older than 30 minutes every 5 minutes (handles crash/restart edge cases) Includes dedicated ServiceAccount and least-privilege RBAC (PVC list/delete only in threesix namespace). Ref: https://github.com/woodpecker-ci/woodpecker/issues/1594 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| templates | ||
| claudebox.yaml | ||
| configmaps.yaml | ||
| credentials.yaml.example | ||
| hpa-worker.yaml | ||
| kustomization.yaml | ||
| namespace-projects.yaml | ||
| namespace.yaml | ||
| network-policy.yaml | ||
| pdb.yaml | ||
| playwright-pod.yaml | ||
| playwright-scripts-configmap.yaml | ||
| prometheus-adapter-rules.yaml | ||
| pvc.yaml | ||
| rbac.yaml | ||
| rdev-api.yaml | ||
| rdev-worker.yaml | ||
| secrets.yaml.example | ||
| servicemonitor-worker.yaml | ||
| storageclass-rwx.yaml | ||
| woodpecker-deployer-rbac.yaml | ||
| woodpecker-pvc-cleanup.yaml | ||