Skip to content

Route console.phorge.fr to the svc cluster in HAProxy - #31

Merged
l-nmch merged 1 commit into
mainfrom
feat/route-console-host
Oct 31, 2026
Merged

l-nmch merged 1 commit into
mainfrom
feat/route-console-host

Conversation

@l-nmch

@l-nmch l-nmch commented Oct 31, 2026

Copy link
Copy Markdown
Member

What

Route console.phorge.fr to the ingress of the svc cluster, where the console is hosted (decision 0008 of Hangar). templates/haproxy.cfg.tftpl gets the HTTP redirect to HTTPS and the SNI route to https-svc-ingress, written like the ones of git.phorge.fr. The host is added to the table of public hosts in docs/reference/network-plan.md.

Why

The edge sends a host it does not know to the control ingress, so without a route console.phorge.fr would reach the wrong cluster.

Checked

  • tofu validate passes. The targeted plan on routeros_file.files["usb1/haproxy-etc/haproxy.cfg"] replaces that one file (1 to add, 1 to destroy), and the only difference in its contents is the added console.phorge.fr lines. Nothing else is in the plan.
  • No firewall change: https-svc-ingress already exists for git.phorge.fr.
  • No DNS record to create: an unknown host under phorge.fr already resolves to the WAN address (wildcard).
  • scripts/check_docs.py: layout and headers ok.

Not covered

  • Nothing answers on console.phorge.fr yet: the console is not deployed, and its Traefik route and certificate (cert-manager) come with its Deployment on svc.
  • tofu fmt -check reports terraform.tfvars; I did not touch that file.

Apply

The maintainer runs tofu apply. The container reloads HAProxy by itself (decision 0002).

Closes #30

@l-nmch l-nmch added this to the 2027-Q1 milestone Oct 31, 2026
@l-nmch l-nmch added the area/network Router, VLANs, firewall, DNS label Oct 31, 2026
@l-nmch l-nmch self-assigned this Oct 31, 2026
@l-nmch
l-nmch merged commit e91c95f into main Oct 31, 2026
6 checks passed
@l-nmch
l-nmch deleted the feat/route-console-host branch October 31, 2026 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/network Router, VLANs, firewall, DNS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Route console.phorge.fr to the svc cluster in HAProxy

1 participant