chore: verify NetworkPolicy allows gitea-mobile -> gitea.gitea traffic after deployment #168

Open
opened 2026-03-30 09:24:04 +00:00 by AI-Manager · 6 comments
Owner

Description

The Talos repo includes a networkpolicy.yaml in testing1/first-cluster/apps/gitea-mobile/ alongside the deployment manifests. After the pod comes up, the NetworkPolicy must be verified to ensure the backend can reach the internal Gitea service at gitea.gitea.svc.cluster.local:3000.

Prerequisites

  • Depends on #167 (pod is Running after Flux reconciles)
  • Depends on #158 (SMOKE_TEST.md passes)

Acceptance Criteria

  • kubectl get networkpolicy -n gitea-mobile shows the policy is applied
  • The dashboard loads issues and PRs (confirming egress to gitea namespace is allowed)
  • No NetworkPolicy admission errors in kubectl describe pod -n gitea-mobile
  • Network connectivity confirmed: kubectl exec into pod and curl http://gitea.gitea.svc.cluster.local:3000 returns HTTP response

Reference

Roadmap Phase 3.3 — Kubernetes Manifests (networkpolicy.yaml in Talos repo at testing1/first-cluster/apps/gitea-mobile/).

## Description The Talos repo includes a `networkpolicy.yaml` in `testing1/first-cluster/apps/gitea-mobile/` alongside the deployment manifests. After the pod comes up, the NetworkPolicy must be verified to ensure the backend can reach the internal Gitea service at `gitea.gitea.svc.cluster.local:3000`. ## Prerequisites - Depends on #167 (pod is Running after Flux reconciles) - Depends on #158 (SMOKE_TEST.md passes) ## Acceptance Criteria - [ ] `kubectl get networkpolicy -n gitea-mobile` shows the policy is applied - [ ] The dashboard loads issues and PRs (confirming egress to gitea namespace is allowed) - [ ] No `NetworkPolicy` admission errors in `kubectl describe pod -n gitea-mobile` - [ ] Network connectivity confirmed: `kubectl exec` into pod and `curl http://gitea.gitea.svc.cluster.local:3000` returns HTTP response ## Reference Roadmap Phase 3.3 — Kubernetes Manifests (`networkpolicy.yaml` in Talos repo at `testing1/first-cluster/apps/gitea-mobile/`).
AI-Manager added the P3agent-readysmallblocked labels 2026-03-30 09:24:04 +00:00
AI-QA was assigned by AI-Manager 2026-03-30 10:04:05 +00:00
Author
Owner

Repo Manager triage (2026-03-30):

Assigned to @AI-QA. Blocked status confirmed -- depends on #167 (pod Running) and #158 (smoke test). Cluster API unreachable; cannot verify NetworkPolicy. Will be actionable once the upstream dependency chain is resolved.

**Repo Manager triage (2026-03-30):** Assigned to @AI-QA. Blocked status confirmed -- depends on #167 (pod Running) and #158 (smoke test). Cluster API unreachable; cannot verify NetworkPolicy. Will be actionable once the upstream dependency chain is resolved.
Author
Owner

Repo Manager Triage (2026-03-30 12:07 UTC)

Status: Still blocked by #167.

New finding: the gitea-mobile hostname resolves and TLS works, but all routes return HTTP 404. This suggests either an Authentik forwardAuth middleware misconfiguration or a pod startup issue. See #167 for detailed analysis and recommended human actions.

This issue will become actionable once the root cause of the 404 responses is resolved.

## Repo Manager Triage (2026-03-30 12:07 UTC) **Status:** Still blocked by #167. New finding: the gitea-mobile hostname resolves and TLS works, but all routes return HTTP 404. This suggests either an Authentik forwardAuth middleware misconfiguration or a pod startup issue. See #167 for detailed analysis and recommended human actions. This issue will become actionable once the root cause of the 404 responses is resolved.
Author
Owner

Triage Update (Repo Manager)

This issue is blocked on #169 (HTTP 404). Root cause identified as misconfigured Authentik forwardAuth middleware. Fix PR: Talos#340.

Status: remains blocked until Talos#340 is merged and Flux reconciles.

### Triage Update (Repo Manager) This issue is blocked on #169 (HTTP 404). Root cause identified as misconfigured Authentik forwardAuth middleware. Fix PR: [Talos#340](http://gitea.leeworks.dev/leeworks-agents/Talos/pulls/340). **Status: remains blocked until Talos#340 is merged and Flux reconciles.**
AI-Manager added the needs-human label 2026-03-30 17:25:40 +00:00
AI-Manager removed the needs-human label 2026-03-30 18:23:01 +00:00
Author
Owner

Triage Analysis (2026-03-31)

Correctly blocked on pod deployment. NetworkPolicy manifest looks correct -- allows Traefik ingress on 8080 and gitea-mobile egress to gitea namespace on port 3000 with DNS egress. Verify after pod is running.

## Triage Analysis (2026-03-31) Correctly blocked on pod deployment. NetworkPolicy manifest looks correct -- allows Traefik ingress on 8080 and gitea-mobile egress to gitea namespace on port 3000 with DNS egress. Verify after pod is running.
Author
Owner

Repo Manager (2026-04-19): Blocked -- pod not running. NetworkPolicy verification requires running pod. Waiting on #169/#167.

Repo Manager (2026-04-19): Blocked -- pod not running. NetworkPolicy verification requires running pod. Waiting on #169/#167.
Author
Owner

Triage Status (2026-04-19)

Status: Remains blocked. This verification task requires gitea-mobile to be deployed and running in the cluster.

Blocking chain: #161 (act_runner) and #171 (registry secrets) must be resolved by the human operator before CI can build/push the image, which must happen before Flux can deploy the app, which must happen before this verification can proceed.

No agent action possible at this time. Will revisit after deployment blockers are cleared.

## Triage Status (2026-04-19) **Status:** Remains blocked. This verification task requires gitea-mobile to be deployed and running in the cluster. **Blocking chain:** #161 (act_runner) and #171 (registry secrets) must be resolved by the human operator before CI can build/push the image, which must happen before Flux can deploy the app, which must happen before this verification can proceed. No agent action possible at this time. Will revisit after deployment blockers are cleared.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/gitea-mobile#168