Skip to content

P9a-1: /impressum is served through Traefik from infrastructure/legal #195

Closed

Description

@FlexOr2

/impressum is served through Traefik from infrastructure/legal, with hal's security headers, while hal keeps serving the public address.

Caller

Neighbours

P9a-2 to P9a-5 bring the validator, the assembler, the app blocks and the live go. This slice is the thinnest proof of the serving half: hal/legal/frame/impressum.html holds no template field, so it is a finished page that needs no composer.

Predecessors

hal's legal container keeps serving the apex. It leaves at P9a-5, and hal's copy with hal (#1, P11).

What binds

  • infrastructure/legal/, because docs/app.md requires an app's image to come from quality's release path, and a vendor nginx is platform infrastructure: Namespace enforcing Pod Security restricted, Deployment of one pod with Recreate, Service, Ingress, NetworkPolicy.
  • Image docker.io/nginxinc/nginx-unprivileged at the version hal's compose.yaml runs, at a sha256 digest, as a new vendor entry. Read-only root, with only the temporary paths nginx needs as emptyDir.
  • The page and the nginx configuration as generated ConfigMaps whose names carry their content's hash. infrastructure/legal/built/impressum.html is hal's frame file byte for byte. infrastructure/legal/default.conf starts from hal/legal/nginx/default.conf and serves only /impressum, with hal's Content-Security-Policy and Cache-Control: no-cache, and 404 for everything else.
  • The Ingress routes the host hallucinai.de through Traefik's web, for that path only. No tunnel line changes, so hal keeps the public address (invariant 2).
  • One Flux Kustomization in clusters/pc/infrastructure.yaml with wait, a timeout and dependsOn admission. No Secret, so the Namespace stays in this directory, as Traefik's does.
  • The NetworkPolicy admits only namespace traefik, and only to nginx's port.

Files

infrastructure/legal/, clusters/pc/infrastructure.yaml, infrastructure/admission/image-vendors.yaml, tests/legal/, .github/workflows/ci.yml, AGENTS.md.

Cells, in k3d

From a client Pod in namespace cloudflared, through Traefik's web with the Host hallucinai.de:

  • /impressum answers 200 with the bytes of the committed file, and its CSP header equals the one the committed default.conf sets, both read from the file.
  • / and an unlisted path answer 404.

A Pod in another namespace gets no answer from the Service. The step joins the part of cluster with more room in the latest run on main. The job's timeout stays 30 minutes.

Risk

No material risk: a static page that is not yet on the public address.

PC: the layer is Ready after the landing, and hal still serves the apex.

version = 1
now = "Cut on 08.11.2026 from #173's plan review."
next = "A builder builds it."
done_when = "In k3d a Pod in cloudflared gets the committed bytes and hal's CSP for /impressum through Traefik and 404 for anything else, no other namespace reaches the Service, and on the PC the layer is Ready while hal still serves the apex."

scope = [".github/workflows/ci.yml", "AGENTS.md", "clusters/pc/infrastructure.yaml", "infrastructure/admission/image-vendors.yaml", "infrastructure/legal", "tests/legal"]

size = "S"

whole = "One layer: its manifests, the one page, the Flux Kustomization, vendor entry, cell and documents prove one served page together."

Activity

  1. added theissue type on Nov 8, 2026
  2. FlexOr2 commented on Nov 8, 2026

    @FlexOr2
    MemberAuthor

    Landed: #198, ef05853.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions