fix(forgejo): allow ci-runners -> forgejo:3000 so CI image pushes work #91

Merged
sirius merged 1 commit from fix/forgejo-allow-ci-runners-registry into master 2026-12-05 05:18:47 +00:00

2026-12-05

fix(forgejo): allow ci-runners -> forgejo:3000 so CI image pushes work
`forgejo-allow` claimed no cross-namespace rule was needed because the CI
runners in `ci-runners` "register/poll over the public URL and therefore
arrive as reserved:ingress". That holds for registration only. Every
image-building workflow pushes to the in-cluster ClusterIP
(`PUSH_REGISTRY: forgejo.forgejo.svc.cluster.local:3000`) from the dind
sidecar of the runner pod — pod->pod, which `default-deny` dropped, so
every build since the policy landed (2026-11-27 07:13Z) died at
`Get "http://forgejo.forgejo.svc.cluster.local:3000/v2/": request canceled
... Client.Timeout exceeded`.

Add one port-scoped ingress rule: fromEndpoints
`io.kubernetes.pod.namespace: ci-runners` -> 3000/TCP (runner container and
its dind sidecar share the pod identity, so a single namespace selector
covers both). Nothing else in `forgejo` is widened. Rewrite the stale
comment paragraph so the next isolation audit does not re-remove it.
2026-12-05 00:18:13 -05:00