apps(farrisilk): lab replica stack (Odoo 18 + plain Postgres + Metabase) on :8086/:8087

Odoo 18 (dated tag 18.0-20261112) on a plain postgres:16 container, not CNPG:
the client runs bare Postgres on a Proxmox VM and this namespace mirrors that
shape. Odoo's initContainer installs base,web once, applies the read-only BI
grants/revokes and sets the admin login from a Secret. Metabase gets its own
state in the same Postgres (db metabase) with a 1Gi heap and
MB_ENCRYPTION_SECRET_KEY. Two bare-IP Gateways (8086 odoo, 8087 metabase) in ns
internal, each with its own RouteConfiguration. Host firewall (nft on siriussec,
ufw on rpi) carries 8086/8087 and was installed before the Gateways were pushed.
This commit is contained in:
Lance Walters 2026-11-22 02:15:56 -05:00
commit 7f7f806616
14 changed files with 874 additions and 6 deletions

View file

@ -0,0 +1,26 @@
# Own Gateway for the Farrisilk lab Metabase (:8087) — see
# gateway-farrisilk-odoo.yaml for why one bare-IP service per Gateway.
#
# This is NOT the evaluation instance in namespace `metabase` (:8085). Same
# reasoning applies to the port choice: one listener port carries exactly one
# internal service, so its route can never compete with another one.
apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
metadata:
name: farrisilk-metabase
namespace: internal
labels:
dedicated: network
annotations:
sirius.dev/purpose: bare-IP listener for the Farrisilk lab Metabase (WireGuard only)
spec:
gatewayClassName: cilium
listeners:
- name: http-internal
protocol: HTTP
# Verified free 2026-11-22: `ss -lntH "sport = :8087" | wc -l` = 0 on
# siriussec.
port: 8087
allowedRoutes:
namespaces:
from: All