homek8s/infrastructure/networking/internal/host-firewall/internal-gw-firewall.service
Lance Walters 930752152e apps(metabase): deploy Metabase (WireGuard-only :8085) with CNPG app DB
- 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
2026-11-22 00:32:31 -05:00

17 lines
No EOL
524 B
Desktop File

# /etc/systemd/system/internal-gw-firewall.service (siriussec)
#
# Same shape as k8s-api-firewall.service. Installed by hand (host unit, not
# Flux-managed); the file lives in git at
# infrastructure/networking/internal/host-firewall/.
[Unit]
Description=Restrict the internal Gateway listeners (8081, 8084, 8085) to WireGuard
After=network-online.target
Wants=network-online.target
[Service]
Type=oneshot
ExecStart=/usr/sbin/nft -f /etc/nftables.d/internal-gw.nft
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target