# Two separate HTTPRoutes and two separate Gateways, on purpose. # # A hostname-less route answers on the bare WireGuard address # (http://10.10.0.2:8086/ and :8087/) for ANY Host header, because a phone # cannot edit /etc/hosts. Cilium renders ONE RouteConfiguration per Gateway and # merges every hostname-less route in it into a single weighted route, so two # services sharing one Gateway serve each other's traffic at random regardless # of listener port. Hence gateway-farrisilk-odoo.yaml (8086) and # gateway-farrisilk-metabase.yaml (8087) in infrastructure/networking/internal/. apiVersion: gateway.networking.k8s.io/v1 kind: HTTPRoute metadata: name: odoo namespace: farrisilk spec: parentRefs: - name: farrisilk-odoo namespace: internal rules: - matches: - path: type: PathPrefix value: / backendRefs: - name: odoo port: 8069 --- apiVersion: gateway.networking.k8s.io/v1 kind: HTTPRoute metadata: name: metabase namespace: farrisilk spec: parentRefs: - name: farrisilk-metabase namespace: internal rules: - matches: - path: type: PathPrefix value: / backendRefs: - name: metabase port: 3000