Bug found while testing #304: the job failed at apk add curl jq — "Unable to lock database: Permission denied". It runs non-root (runAsUser 65534) and the openbao ns enforces restricted PSA, so apk/apt (need root) can't install anything. The influxdb precedent only worked because it ran as root.
Fix: switch to python:3.13-alpine and do OpenBao login + API call + KV patch via Python stdlib (urllib/json) — no runtime install, runs cleanly non-root. Verified: kustomize + python syntax clean.
The same fix is needed on the still-open #305 (cloudflare) and #306 (proxmox) — I'll push it to those branches too.
**Bug found while testing #304**: the job failed at `apk add curl jq` — *"Unable to lock database: Permission denied"*. It runs non-root (`runAsUser 65534`) and the openbao ns enforces restricted PSA, so `apk`/`apt` (need root) can't install anything. The influxdb precedent only worked because it ran as root.
**Fix**: switch to `python:3.13-alpine` and do OpenBao login + API call + KV patch via Python stdlib (`urllib`/`json`) — no runtime install, runs cleanly non-root. Verified: kustomize + python syntax clean.
The same fix is needed on the still-open **#305 (cloudflare)** and **#306 (proxmox)** — I'll push it to those branches too.
Testing #304 revealed the runtime 'apk add curl jq' fails ('Unable to lock database: Permission denied') because the job runs non-root (runAsUser 65534) and the openbao ns enforces restricted PSA — apk needs root. Switch to python:3.13-alpine and do the HTTP/JSON via stdlib (urllib/json), no package install, non-root-safe. Same fix must be applied to the still-open cloudflare (#305) and proxmox (#306) Class-B jobs.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015K7gLUVVnutvDnzV2TrMRJ
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Bug found while testing #304: the job failed at
apk add curl jq— "Unable to lock database: Permission denied". It runs non-root (runAsUser 65534) and the openbao ns enforces restricted PSA, soapk/apt(need root) can't install anything. The influxdb precedent only worked because it ran as root.Fix: switch to
python:3.13-alpineand do OpenBao login + API call + KV patch via Python stdlib (urllib/json) — no runtime install, runs cleanly non-root. Verified: kustomize + python syntax clean.The same fix is needed on the still-open #305 (cloudflare) and #306 (proxmox) — I'll push it to those branches too.