CI runner needs kubectl access to create Tekton PipelineRuns for integration testing.
Root Cause
The runner egress NetworkPolicy blocks 192.168.1.0/24 (LAN). The K8s API server runs on control-plane nodes in that subnet (192.168.1.166:6443). kubectl from inside the DinD container times out.
Fix
Allow TCP port 6443 to 192.168.1.0/24 — scoped to control-plane API server only.
Required By
homelab-frontend PR #25 (Tekton integration testing) — CI creates PipelineRuns via kubectl.
CI runner needs kubectl access to create Tekton PipelineRuns for integration testing.
## Root Cause
The runner egress NetworkPolicy blocks `192.168.1.0/24` (LAN). The K8s API server runs on control-plane nodes in that subnet (`192.168.1.166:6443`). kubectl from inside the DinD container times out.
## Fix
Allow TCP port 6443 to `192.168.1.0/24` — scoped to control-plane API server only.
## Required By
homelab-frontend PR #25 (Tekton integration testing) — CI creates PipelineRuns via kubectl.
CI needs kubectl access to create Tekton PipelineRuns for integration
testing. The API server runs on control-plane nodes in 192.168.1.0/24
which was blocked by the existing except rule.
Allow port 6443 to 192.168.1.0/24 (control-plane subnet only).
rock
merged commit 4b5ecfcd49 into main2026-09-13 13:54:32 +00:00
rock
deleted branch feat/ci-k8s-api-egress2026-09-13 13:54:37 +00:00
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.
CI runner needs kubectl access to create Tekton PipelineRuns for integration testing.
Root Cause
The runner egress NetworkPolicy blocks
192.168.1.0/24(LAN). The K8s API server runs on control-plane nodes in that subnet (192.168.1.166:6443). kubectl from inside the DinD container times out.Fix
Allow TCP port 6443 to
192.168.1.0/24— scoped to control-plane API server only.Required By
homelab-frontend PR #25 (Tekton integration testing) — CI creates PipelineRuns via kubectl.