- apps/base/metabase: namespace, CNPG Cluster pg (5Gi local-path, siriussec), Metabase Deployment v0.65.6.3 (1.5G heap, no PVC), Service, hostname-less HTTPRoute on the dedicated metabase Gateway - infrastructure/networking/internal: new Gateway metabase on port 8085 (own RouteConfiguration, so it cannot merge with Grafana's bare route) - host firewall: 8085 in siriussec nft set + rpi ufw guard
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
|