rdev/deployments/k8s/base
jordan f8554a5e6f
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
fix(ci): prevent Woodpecker PVC false failures
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>
2026-02-10 22:00:03 -07:00
..
templates feat: add operations audit system and template improvements 2026-02-01 19:08:57 -07:00
claudebox.yaml feat: enable Claude Code OTEL telemetry in claudebox containers 2026-02-06 19:43:47 -07:00
configmaps.yaml feat: Implement v0.2-v0.4 (workspaces, git, API) 2026-01-24 21:07:00 -07:00
credentials.yaml.example feat: Add claude-config API, security hardening, and testing infrastructure 2026-01-25 01:29:13 -07:00
hpa-worker.yaml feat: enterprise worker pool with HTTP sidecar pattern 2026-02-05 16:21:11 -07:00
kustomization.yaml feat: add RWX storage class and full SDLC lifecycle cookbook 2026-02-06 11:37:57 -07:00
namespace-projects.yaml feat: Add multi-provider code agent interface with Claude Code and OpenCode adapters 2026-01-27 09:25:51 -07:00
namespace.yaml Initial commit: rdev v0.1 base case 2026-01-24 19:24:07 -07:00
network-policy.yaml feat: add worker pool infrastructure for composable projects 2026-02-02 19:55:37 -07:00
pdb.yaml feat: Implement hexagonal architecture with services, webhooks, queue, and telemetry 2026-01-25 19:57:46 -07:00
playwright-pod.yaml feat: fix composable monorepo CI builds + health endpoint improvements 2026-02-03 18:46:51 -07:00
playwright-scripts-configmap.yaml feat: fix composable monorepo CI builds + health endpoint improvements 2026-02-03 18:46:51 -07:00
prometheus-adapter-rules.yaml feat: enterprise worker pool with HTTP sidecar pattern 2026-02-05 16:21:11 -07:00
pvc.yaml feat: add RWX storage class and full SDLC lifecycle cookbook 2026-02-06 11:37:57 -07:00
rbac.yaml fix(rbac): grant woodpecker-deployer access to statefulsets 2026-02-09 19:35:28 -07:00
rdev-api.yaml ci: add Woodpecker CI for self-hosted builds 2026-02-05 19:26:44 -07:00
rdev-worker.yaml feat: enable Claude Code OTEL telemetry in claudebox containers 2026-02-06 19:43:47 -07:00
secrets.yaml.example feat: Add claude-config API, security hardening, and testing infrastructure 2026-01-25 01:29:13 -07:00
servicemonitor-worker.yaml feat: enterprise worker pool with HTTP sidecar pattern 2026-02-05 16:21:11 -07:00
storageclass-rwx.yaml feat: add RWX storage class and full SDLC lifecycle cookbook 2026-02-06 11:37:57 -07:00
woodpecker-deployer-rbac.yaml feat: Complete automation gaps for repeatable project deployments 2026-01-29 15:18:31 -07:00
woodpecker-pvc-cleanup.yaml fix(ci): prevent Woodpecker PVC false failures 2026-02-10 22:00:03 -07:00