fix(forgejo): allow ci-runners -> forgejo:3000 so CI image pushes work #91
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/forgejo-allow-ci-runners-registry"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Symptom
Every image-building CI job has failed since 2026-11-27 07:13Z — the moment
forgejo-allowlanded:Why
forgejo-allow's comment argued no cross-namespace rule was needed because the runners inci-runnersregister/poll over the public URL and therefore arrive asreserved:ingress. That is true for registration. The build workflows push to the in-cluster ClusterIP (PUSH_REGISTRY: forgejo.forgejo.svc.cluster.local:3000) from the docker daemon in the runner pod's dind sidecar — pod → pod, which the namespacedefault-denydrops andforgejo-allownever re-allowed.Reproduced live before the fix (runner pod, 8 s timeout, exit 143):
Change
One port-scoped ingress rule added to
forgejo-allowinapps/base/forgejo/networkpolicy.yaml:The runner container and its dind sidecar are the same pod, so a single namespace selector covers both. Nothing else in
forgejois widened (existing rules untouched: entities ingress/host/remote-node/health, same-namespace pods, cnpg-system:8000, monitoring:9187). The stale "no cross-namespace rule is needed" paragraph is rewritten to say the rule is required and why, so the next isolation audit does not delete it as redundant.Verification (after merge)
Re-ran
sirius/osint-dashboardbuild.yml for masterfb5285df7f388a06f457842071d0318d5a3a6e0f(run 1496, previously failed) and confirmed the tagamd64-fb5285df7f38exists in the registry with a manifest digest. Evidence will be quoted in the kanban card.Refs: card
t_e137b2d8.