homek8s/infrastructure/networking/internal/gateway-customer1-odoo.yaml
Lance Walters ae22aab330 apps(customer1): anonymize client name — farrisilk -> customer1
Rename the client-shaped lab replica namespace and its manifests to keep the
client name out of the repo going forward (git history is intentionally not
rewritten).

- apps/base/farrisilk -> apps/base/customer1 (namespace, workloads, PVCs,
  HTTPRoutes, backup CronJob, README)
- infrastructure/networking/internal/gateway-farrisilk-{odoo,metabase}.yaml ->
  gateway-customer1-{odoo,metabase}.yaml (listener ports unchanged: 8086/8087)
- firewall comment headers updated (rules/ports untouched)

No functional change beyond object names; workloads remain parked at 0.
2026-11-24 01:46:25 -05:00

31 lines
1.3 KiB
YAML

# Own Gateway for Odoo because each bare-IP (hostname-less) service needs its own
# RouteConfiguration: Cilium renders one per Gateway and merges all hostname-less
# routes inside it into a single weighted route. Sharing a Gateway with Grafana
# (8081) / Hubble (8084) / Metabase (8085) or with the sibling :8087 listener
# here would make both ports answer for a random backend.
#
# Port 8086 must be free on EVERY node running cilium-envoy (siriussec 10.10.0.2
# is the only `gateway=true` node). Envoy binds 0.0.0.0:<port> hostNetwork, so
# the host firewall (infrastructure/networking/internal/host-firewall/) must be
# installed BEFORE this is pushed; otherwise the listener is open on the LAN the
# moment it is programmed.
apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
metadata:
name: customer1-odoo
namespace: internal
labels:
dedicated: network
annotations:
sirius.dev/purpose: bare-IP listener for the Customer 1 lab Odoo (WireGuard only)
spec:
gatewayClassName: cilium
listeners:
- name: http-internal
protocol: HTTP
# Verified free 2026-11-22: `ss -lntH "sport = :8086" | wc -l` = 0 on
# siriussec. Taken: 8080 public, 8081 Grafana, 8084 Hubble, 8085 Metabase.
port: 8086
allowedRoutes:
namespaces:
from: All