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.
19 lines
894 B
YAML
19 lines
894 B
YAML
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
resources:
|
|
- namespace.yaml
|
|
# Secrets are created out of band, before this Kustomization applies:
|
|
# farrisilk/pg-app basic-auth, postgres superuser
|
|
# farrisilk/pg-users odoo/metabase/metabase_ro role passwords
|
|
# farrisilk/odoo-config admin_passwd (database master password)
|
|
# farrisilk/odoo-admin email, password (web admin login)
|
|
# farrisilk/metabase-admin email, password (Metabase's own login)
|
|
# farrisilk/metabase-data-source-creds username=metabase_ro + password
|
|
# farrisilk/metabase-secret-key MB_ENCRYPTION_SECRET_KEY
|
|
# None of them appear in git; they are not managed (or pruned) by Flux.
|
|
- postgres-init.yaml
|
|
- postgres.yaml
|
|
- odoo-init.yaml
|
|
- odoo.yaml
|
|
- metabase.yaml
|
|
- httproute.yaml
|