diff --git a/docs/reference/network-plan.md b/docs/reference/network-plan.md index 8c2fb51..78d0fe1 100644 --- a/docs/reference/network-plan.md +++ b/docs/reference/network-plan.md @@ -88,7 +88,6 @@ The storage node exports `/mnt/main/csi-svc` over NFSv4 to the three svc nodes a | Hostname | Cluster | Service | Reached through | |---|---|---|---| | `auth.phorge.fr` | core | Authentik (OIDC SSO) | HAProxy, `traefik-public` 10.2.0.11 | -| `monitoring.phorge.fr` | core | Grafana | HAProxy, `traefik-public` 10.2.0.11 | | `status.phorge.fr` | core | Uptime Kuma | HAProxy, `traefik-public` 10.2.0.11 | | `api.phorge.fr` | control | Phorge API (`/v1`, OpenAPI and Swagger UI only) | HAProxy, `traefik-public` 10.1.0.11 | | `cap.phorge.fr` | core | Cap (captcha of the Authentik sign-in, only `/assets` and the site key are public) | HAProxy, `traefik-public` 10.2.0.11 | @@ -97,6 +96,7 @@ The storage node exports `/mnt/main/csi-svc` over NFSv4 to the three svc nodes a | `iaas.phorge.fr` | compute | Incus API and UI | HAProxy SNI routing to 10.10.0.1-3:8443 (rule `Allow Hproxy to Incus cluster API`, see [flows](#traffic-flows)) | | `prometheus.core.phorge`, `loki.core.phorge`, `openfga.core.phorge` | core | Prometheus, Loki, OpenFGA | `traefik-local` 10.2.0.10, internal CA, basic auth | | `authentik.core.phorge` | core | Authentik API, for the Crossplane provider on control | `traefik-local` 10.2.0.10, internal CA, API token | +| `monitoring.core.phorge` | core | Grafana (operators only, Authentik sign-in) | `traefik-local` 10.2.0.10, internal CA | | `crossview.control.phorge` | control | Crossview (Crossplane UI, authentik SSO) | `traefik-local` 10.1.0.10, internal CA | Forgejo also serves Git over SSH on 10.3.0.13:22, internal only. diff --git a/templates/haproxy.cfg.tftpl b/templates/haproxy.cfg.tftpl index 11767c2..8d0afc6 100644 --- a/templates/haproxy.cfg.tftpl +++ b/templates/haproxy.cfg.tftpl @@ -64,9 +64,6 @@ frontend http-dispatcher acl host_auth hdr(host) -i auth.phorge.fr http-request redirect scheme https code 301 if host_auth - acl host_monitoring hdr(host) -i monitoring.phorge.fr - http-request redirect scheme https code 301 if host_monitoring - acl host_status hdr(host) -i status.phorge.fr http-request redirect scheme https code 301 if host_status @@ -95,8 +92,6 @@ frontend sni-dispatcher use_backend https-core-ingress if { req.ssl_sni -i auth.phorge.fr } - use_backend https-core-ingress if { req.ssl_sni -i monitoring.phorge.fr } - use_backend https-core-ingress if { req.ssl_sni -i status.phorge.fr } use_backend https-control-ingress if { req.ssl_sni -i api.phorge.fr } diff --git a/terraform.tfvars b/terraform.tfvars index 8a7585f..2fdac98 100644 --- a/terraform.tfvars +++ b/terraform.tfvars @@ -48,6 +48,7 @@ dns_records = [ { name = "loki.core.phorge", address = "10.2.0.10", type = "A" }, { name = "openfga.core.phorge", address = "10.2.0.10", type = "A" }, { name = "authentik.core.phorge", address = "10.2.0.10", type = "A" }, + { name = "monitoring.core.phorge", address = "10.2.0.10", type = "A" }, { name = "crossview.control.phorge", address = "10.1.0.10", type = "A" }, ]