25 lines
871 B
YAML
25 lines
871 B
YAML
|
|
# Internal only, and deliberately HOSTNAME-LESS: it answers on the bare WireGuard
|
||
|
|
# address http://10.10.0.2:8085/ for every Host header. Phones cannot edit
|
||
|
|
# /etc/hosts, so a hostname would make the evaluation unusable on mobile.
|
||
|
|
#
|
||
|
|
# parentRefs is the dedicated `metabase` Gateway (infrastructure/networking/
|
||
|
|
# internal/gateway-metabase.yaml), NOT the shared `internal` one: Cilium merges
|
||
|
|
# every hostname-less route of a Gateway into one weighted route, so sharing a
|
||
|
|
# Gateway with Grafana would serve both services on both ports at random.
|
||
|
|
apiVersion: gateway.networking.k8s.io/v1
|
||
|
|
kind: HTTPRoute
|
||
|
|
metadata:
|
||
|
|
name: metabase
|
||
|
|
namespace: metabase
|
||
|
|
spec:
|
||
|
|
parentRefs:
|
||
|
|
- name: metabase
|
||
|
|
namespace: internal
|
||
|
|
rules:
|
||
|
|
- matches:
|
||
|
|
- path:
|
||
|
|
type: PathPrefix
|
||
|
|
value: /
|
||
|
|
backendRefs:
|
||
|
|
- name: metabase
|
||
|
|
port: 3000
|