From 530320bbfeca1695761c344c613a085021612d4a Mon Sep 17 00:00:00 2001 From: Lance Walters Date: Sun, 22 Nov 2026 05:42:52 -0500 Subject: [PATCH 01/11] ops(siriussec): bound CPU bursts to the 15W power budget siriussec is a T480 on a 5V/3A (15W) USB-C supply and died 2026-11-22 04:20 after ~12h on battery. Host PL1 was 25W with turbo on, so any sustained burst outran the adapter. Cap the two workload-side bursts that can pin cores: - forgejo-runner-amd64 dind: no CPU limit before -> add cpu: 3 - metabase + farrisilk metabase: cpu limit 2 -> 1 each (two JVMs = 4 threads) Host-side cap (PL1 12W/PL2 15W, no_turbo=1) is applied by cpu-power-cap.service on the node itself, not by this repo. --- apps/base/farrisilk/metabase.yaml | 3 ++- apps/base/forgejo/runner-amd64.yaml | 5 +++++ apps/base/metabase/deployment.yaml | 6 +++++- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/apps/base/farrisilk/metabase.yaml b/apps/base/farrisilk/metabase.yaml index 4cc9330..b8653e2 100644 --- a/apps/base/farrisilk/metabase.yaml +++ b/apps/base/farrisilk/metabase.yaml @@ -87,7 +87,8 @@ spec: cpu: 250m memory: 1Gi limits: - cpu: "2" + # Capped with the main Metabase: see apps/base/metabase/deployment.yaml + cpu: "1" memory: 2Gi --- apiVersion: v1 diff --git a/apps/base/forgejo/runner-amd64.yaml b/apps/base/forgejo/runner-amd64.yaml index 7fa6dba..459971e 100644 --- a/apps/base/forgejo/runner-amd64.yaml +++ b/apps/base/forgejo/runner-amd64.yaml @@ -117,6 +117,11 @@ spec: cpu: 200m memory: 512Mi limits: + # Hard ceiling on CI burst draw: siriussec is a laptop on a 15 W + # USB-C supply, and dind previously had no CPU limit, so one + # Android/x86_64 build could pin all 8 threads (~25 W package) + # and drain the battery faster than the adapter refills it. + cpu: 3 memory: 4Gi - name: runner image: code.forgejo.org/forgejo/runner:5.0.1 diff --git a/apps/base/metabase/deployment.yaml b/apps/base/metabase/deployment.yaml index d7c6fd2..2536dc6 100644 --- a/apps/base/metabase/deployment.yaml +++ b/apps/base/metabase/deployment.yaml @@ -79,5 +79,9 @@ spec: cpu: 250m memory: 1Gi limits: - cpu: "2" + # 2 → 1: two Metabase JVMs on the gateway node could together + # burst to 4 threads on a 15 W adapter. 1 core each keeps the + # node inside its power budget; UI latency is unaffected at this + # query volume. + cpu: "1" memory: 2Gi From 79206e0487a7c6eecbd29c42973a724e2d6d5303 Mon Sep 17 00:00:00 2001 From: Lance Walters Date: Sun, 22 Nov 2026 05:54:53 -0500 Subject: [PATCH 02/11] ops(farrisilk): park the client replica stack to cut siriussec draw siriussec is on a 15 W USB-C adapter and low-battery-shutdown fired 2026-11-22 04:20. The farrisilk replica (Odoo + Metabase JVM + Postgres) is the largest single stack on that node and is not client production. Scale its three Deployments to 0 and suspend the nightly pg_dump; PVCs and data stay put. Restore: set replicas back to 1 in odoo.yaml, metabase.yaml, postgres.yaml and unsuspend backup.yaml, then let Flux reconcile. --- apps/base/farrisilk/backup.yaml | 2 ++ apps/base/farrisilk/metabase.yaml | 3 ++- apps/base/farrisilk/odoo.yaml | 5 ++++- apps/base/farrisilk/postgres.yaml | 5 +++-- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/apps/base/farrisilk/backup.yaml b/apps/base/farrisilk/backup.yaml index 2e2567c..2e5e13a 100644 --- a/apps/base/farrisilk/backup.yaml +++ b/apps/base/farrisilk/backup.yaml @@ -92,6 +92,8 @@ metadata: labels: app.kubernetes.io/part-of: farrisilk spec: + # Parked with the stack (see odoo.yaml): no dumps while Postgres is at 0. + suspend: true # 03:17 America/Los_Angeles — one run per night, off the hour so it does not # collide with Odoo's own cron threads or Metabase syncs at :00. schedule: "17 3 * * *" diff --git a/apps/base/farrisilk/metabase.yaml b/apps/base/farrisilk/metabase.yaml index b8653e2..1c215a4 100644 --- a/apps/base/farrisilk/metabase.yaml +++ b/apps/base/farrisilk/metabase.yaml @@ -16,7 +16,8 @@ metadata: name: metabase namespace: farrisilk spec: - replicas: 1 + # Parked 2026-11-22 (power budget) — see apps/base/farrisilk/odoo.yaml. + replicas: 0 selector: matchLabels: app: metabase diff --git a/apps/base/farrisilk/odoo.yaml b/apps/base/farrisilk/odoo.yaml index 4c93f0f..859b17d 100644 --- a/apps/base/farrisilk/odoo.yaml +++ b/apps/base/farrisilk/odoo.yaml @@ -43,7 +43,10 @@ metadata: name: odoo namespace: farrisilk spec: - replicas: 1 + # Parked 2026-11-22: siriussec's 15 W adapter cannot carry this replica + # stack (Odoo + two JVM/Postgres processes) alongside the public gateway + # workloads. Set back to 1 to bring the client replica up; PVCs are kept. + replicas: 0 strategy: type: Recreate selector: diff --git a/apps/base/farrisilk/postgres.yaml b/apps/base/farrisilk/postgres.yaml index e74d693..c2710a2 100644 --- a/apps/base/farrisilk/postgres.yaml +++ b/apps/base/farrisilk/postgres.yaml @@ -30,8 +30,9 @@ metadata: name: pg namespace: farrisilk spec: - replicas: 1 - # RWO volume: two pods must never hold the data directory at once. + # Parked 2026-11-22 (power budget) — see apps/base/farrisilk/odoo.yaml. + # Recreate: the data directory must be released before anything restarts. + replicas: 0 strategy: type: Recreate selector: From 01db28dec5ccdd1254924fb7624d1e4b527177c7 Mon Sep 17 00:00:00 2001 From: Lance Walters Date: Mon, 23 Nov 2026 22:50:52 -0500 Subject: [PATCH 03/11] apps(forgejo): serve a declarative robots.txt that keeps non-portfolio paths out of the index Self-registration was open until 2026-11-20 and Google indexed spam profiles under forgejo.siriusdevops.com (/leonabrewton8, /charlinebrando, .../-/packages). The accounts are deleted and 404 now, but Forgejo's built-in robots.txt only blocks /explore/*?* and /user/, so /explore/repos and /search stay crawlable. Forgejo serves GITEA_CUSTOM=/data/gitea/public/robots.txt at /robots.txt, so mount a ConfigMap there (the supported custom-public override) and disallow /explore/*, /user/*, /search*, /api/*, /*/-/packages while allowing /sirius/* for the portfolio repos. --- apps/base/forgejo/custom-public.yaml | 32 ++++++++++++++++++++++++++++ apps/base/forgejo/deployment.yaml | 8 +++++++ apps/base/forgejo/kustomization.yaml | 2 ++ 3 files changed, 42 insertions(+) create mode 100644 apps/base/forgejo/custom-public.yaml diff --git a/apps/base/forgejo/custom-public.yaml b/apps/base/forgejo/custom-public.yaml new file mode 100644 index 0000000..ee4232a --- /dev/null +++ b/apps/base/forgejo/custom-public.yaml @@ -0,0 +1,32 @@ +# Custom "public" assets served at the site root by Forgejo. +# +# GITEA_CUSTOM in the image is /data/gitea, so Forgejo serves +# /data/gitea/public/* at the root path. Mounting this ConfigMap there makes +# /robots.txt declarative instead of a hand-written file on the PVC +# (docs: forgejo.org/docs/latest/admin/advanced/search-engines-indexation). +# +# Why: self-registration was open until 2026-11-20 and spam profiles +# (/leonabrewton8, /charlinebrando, .../-/packages) were indexed by Google. +# The accounts are gone, but Forgejo's built-in robots.txt only disallows +# /explore/*?* (query strings) and /user/, leaving /explore/repos and +# /search crawlable. This keeps the owner's portfolio repos (/sirius/*) +# indexable and everything else out. +apiVersion: v1 +kind: ConfigMap +metadata: + name: forgejo-custom-public + namespace: forgejo +data: + robots.txt: | + # forgejo.siriusdevops.com + User-agent: * + Disallow: /explore/* + Disallow: /user/* + Disallow: /search* + Disallow: /api/* + Disallow: /*/-/packages + Disallow: /repo/create + Disallow: /repo/migrate + Disallow: /org/create + + Allow: /sirius/* diff --git a/apps/base/forgejo/deployment.yaml b/apps/base/forgejo/deployment.yaml index 4a430ea..1a6c467 100644 --- a/apps/base/forgejo/deployment.yaml +++ b/apps/base/forgejo/deployment.yaml @@ -61,6 +61,11 @@ spec: volumeMounts: - name: data mountPath: /data + # Custom site-root assets (robots.txt). GITEA_CUSTOM=/data/gitea, + # so Forgejo serves /data/gitea/public/robots.txt at /robots.txt. + - name: custom-public + mountPath: /data/gitea/public + readOnly: true readinessProbe: httpGet: path: / @@ -77,3 +82,6 @@ spec: - name: data persistentVolumeClaim: claimName: forgejo-data + - name: custom-public + configMap: + name: forgejo-custom-public diff --git a/apps/base/forgejo/kustomization.yaml b/apps/base/forgejo/kustomization.yaml index 709c518..4c69535 100644 --- a/apps/base/forgejo/kustomization.yaml +++ b/apps/base/forgejo/kustomization.yaml @@ -7,6 +7,8 @@ resources: - cluster.yaml - podmonitor.yaml - pg-actions-queries.yaml + # Site-root custom assets (robots.txt) mounted into the forgejo pod. + - custom-public.yaml - deployment.yaml - service.yaml - runner-configmap.yaml From 82f0d8324368d0c3bef82e36f18f67339086c0fc Mon Sep 17 00:00:00 2001 From: Lance Walters Date: Mon, 23 Nov 2026 22:54:10 -0500 Subject: [PATCH 04/11] =?UTF-8?q?apps(siriusdevops):=20pin=20site=20to=20e?= =?UTF-8?q?2fd76a=20=E2=80=94=20/book=20drops=20the=20public=20audit=20pri?= =?UTF-8?q?ce?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit siriusdevops-site:e2fd76ad (merge of PR #19) replaces the $750–$1,500 audit anchor in the /book funnel with 'scoped and quoted after the review'. contact-api is unchanged at 8642f1a. --- apps/base/siriusdevops/deployment-site.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/base/siriusdevops/deployment-site.yaml b/apps/base/siriusdevops/deployment-site.yaml index 5be80b1..7732245 100644 --- a/apps/base/siriusdevops/deployment-site.yaml +++ b/apps/base/siriusdevops/deployment-site.yaml @@ -75,7 +75,7 @@ spec: memory: 128Mi containers: - name: nginx - image: forgejo.siriusdevops.com/sirius/siriusdevops-site:799afe40192182cd418652a638376f06e3b1adeb + image: forgejo.siriusdevops.com/sirius/siriusdevops-site:e2fd76ad1dfeb6c758974f04a9b3d3308c78d43d imagePullPolicy: IfNotPresent ports: - containerPort: 80 From 648516af71ac54fba857c900e116d11f9fc63f40 Mon Sep 17 00:00:00 2001 From: Lance Walters Date: Mon, 23 Nov 2026 23:09:23 -0500 Subject: [PATCH 05/11] =?UTF-8?q?apps(siriusdevops):=20pin=20site=20to=20a?= =?UTF-8?q?f139906=20=E2=80=94=20five-band=20homepage=20repositioning?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/base/siriusdevops/deployment-site.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/base/siriusdevops/deployment-site.yaml b/apps/base/siriusdevops/deployment-site.yaml index 7732245..4ccecfd 100644 --- a/apps/base/siriusdevops/deployment-site.yaml +++ b/apps/base/siriusdevops/deployment-site.yaml @@ -75,7 +75,7 @@ spec: memory: 128Mi containers: - name: nginx - image: forgejo.siriusdevops.com/sirius/siriusdevops-site:e2fd76ad1dfeb6c758974f04a9b3d3308c78d43d + image: forgejo.siriusdevops.com/sirius/siriusdevops-site:af139906411167a382f072184cce526a82729083 imagePullPolicy: IfNotPresent ports: - containerPort: 80 From cc50d1c231cdf860c1471e59fa65adbe2db0735d Mon Sep 17 00:00:00 2001 From: Lance Walters Date: Mon, 23 Nov 2026 23:28:27 -0500 Subject: [PATCH 06/11] =?UTF-8?q?apps(siriusdevops):=20pin=20site=20to=20f?= =?UTF-8?q?e2d5bb=20=E2=80=94=20Quiet=20Precision=20token=20pass?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/base/siriusdevops/deployment-site.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/base/siriusdevops/deployment-site.yaml b/apps/base/siriusdevops/deployment-site.yaml index 4ccecfd..fdac4e4 100644 --- a/apps/base/siriusdevops/deployment-site.yaml +++ b/apps/base/siriusdevops/deployment-site.yaml @@ -75,7 +75,7 @@ spec: memory: 128Mi containers: - name: nginx - image: forgejo.siriusdevops.com/sirius/siriusdevops-site:af139906411167a382f072184cce526a82729083 + image: forgejo.siriusdevops.com/sirius/siriusdevops-site:fe2d5bbda956f66f8de6918a48d5c3e2952053ff imagePullPolicy: IfNotPresent ports: - containerPort: 80 From 5b26ecd8235e0b9d42a8418d1a0a4c69f52db97e Mon Sep 17 00:00:00 2001 From: Lance Walters Date: Mon, 23 Nov 2026 23:43:30 -0500 Subject: [PATCH 07/11] =?UTF-8?q?apps(siriusdevops):=20pin=20site=20to=200?= =?UTF-8?q?e91b466=20=E2=80=94=20/lab=20briefs=20rewrite?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/base/siriusdevops/deployment-site.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/base/siriusdevops/deployment-site.yaml b/apps/base/siriusdevops/deployment-site.yaml index fdac4e4..fa0a0e0 100644 --- a/apps/base/siriusdevops/deployment-site.yaml +++ b/apps/base/siriusdevops/deployment-site.yaml @@ -75,7 +75,7 @@ spec: memory: 128Mi containers: - name: nginx - image: forgejo.siriusdevops.com/sirius/siriusdevops-site:fe2d5bbda956f66f8de6918a48d5c3e2952053ff + image: forgejo.siriusdevops.com/sirius/siriusdevops-site:0e91b466e2e07edf73f456dcab240fcf397ad5ce imagePullPolicy: IfNotPresent ports: - containerPort: 80 From 955f886d3616e54b8e5e8238f4e878a96aabcebc Mon Sep 17 00:00:00 2001 From: Lance Walters Date: Tue, 24 Nov 2026 00:02:35 -0500 Subject: [PATCH 08/11] =?UTF-8?q?apps(siriusdevops):=20pin=20site=20to=203?= =?UTF-8?q?98b5353=20=E2=80=94=20homepage=20sheet=20roles?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/base/siriusdevops/deployment-site.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/base/siriusdevops/deployment-site.yaml b/apps/base/siriusdevops/deployment-site.yaml index fa0a0e0..8c94499 100644 --- a/apps/base/siriusdevops/deployment-site.yaml +++ b/apps/base/siriusdevops/deployment-site.yaml @@ -75,7 +75,7 @@ spec: memory: 128Mi containers: - name: nginx - image: forgejo.siriusdevops.com/sirius/siriusdevops-site:0e91b466e2e07edf73f456dcab240fcf397ad5ce + image: forgejo.siriusdevops.com/sirius/siriusdevops-site:398b5353f2cb24547f946d6bd306d7f3634ec671 imagePullPolicy: IfNotPresent ports: - containerPort: 80 From f5cb4ec22aaded4dd467e7350ee6593d173a9e62 Mon Sep 17 00:00:00 2001 From: Lance Walters Date: Tue, 24 Nov 2026 00:09:28 -0500 Subject: [PATCH 09/11] =?UTF-8?q?apps(siriusdevops):=20pin=20site=20to=200?= =?UTF-8?q?4b36fed=20=E2=80=94=20telemetry=207=20/=207=20Flux=20Kustomizat?= =?UTF-8?q?ions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/base/siriusdevops/deployment-site.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/base/siriusdevops/deployment-site.yaml b/apps/base/siriusdevops/deployment-site.yaml index 8c94499..7d5077d 100644 --- a/apps/base/siriusdevops/deployment-site.yaml +++ b/apps/base/siriusdevops/deployment-site.yaml @@ -75,7 +75,7 @@ spec: memory: 128Mi containers: - name: nginx - image: forgejo.siriusdevops.com/sirius/siriusdevops-site:398b5353f2cb24547f946d6bd306d7f3634ec671 + image: forgejo.siriusdevops.com/sirius/siriusdevops-site:04b36fedf47e53f9d2b8bb59958faf90ebb3d9b8 imagePullPolicy: IfNotPresent ports: - containerPort: 80 From f9888c63f06d2879addee2f36a60b069f234ddd0 Mon Sep 17 00:00:00 2001 From: Lance Walters Date: Tue, 24 Nov 2026 00:20:02 -0500 Subject: [PATCH 10/11] =?UTF-8?q?apps(siriusdevops):=20pin=20site=20to=203?= =?UTF-8?q?99c421f=20=E2=80=94=20zero=20em=20dashes=20on=20/,=20/book,=20/?= =?UTF-8?q?lab?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/base/siriusdevops/deployment-site.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/base/siriusdevops/deployment-site.yaml b/apps/base/siriusdevops/deployment-site.yaml index 7d5077d..67f1fe5 100644 --- a/apps/base/siriusdevops/deployment-site.yaml +++ b/apps/base/siriusdevops/deployment-site.yaml @@ -75,7 +75,7 @@ spec: memory: 128Mi containers: - name: nginx - image: forgejo.siriusdevops.com/sirius/siriusdevops-site:04b36fedf47e53f9d2b8bb59958faf90ebb3d9b8 + image: forgejo.siriusdevops.com/sirius/siriusdevops-site:399c421f51a2fd74a87e810641226d58e4e22690 imagePullPolicy: IfNotPresent ports: - containerPort: 80 From ae22aab3303531a40a5aa030420727e8d7f263da Mon Sep 17 00:00:00 2001 From: Lance Walters Date: Tue, 24 Nov 2026 01:46:25 -0500 Subject: [PATCH 11/11] =?UTF-8?q?apps(customer1):=20anonymize=20client=20n?= =?UTF-8?q?ame=20=E2=80=94=20farrisilk=20->=20customer1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Rename the client-shaped lab replica namespace and its manifests to keep the client name out of the repo going forward (git history is intentionally not rewritten). - apps/base/farrisilk -> apps/base/customer1 (namespace, workloads, PVCs, HTTPRoutes, backup CronJob, README) - infrastructure/networking/internal/gateway-farrisilk-{odoo,metabase}.yaml -> gateway-customer1-{odoo,metabase}.yaml (listener ports unchanged: 8086/8087) - firewall comment headers updated (rules/ports untouched) No functional change beyond object names; workloads remain parked at 0. --- apps/base/{farrisilk => customer1}/README.md | 40 +++++++++---------- .../base/{farrisilk => customer1}/backup.yaml | 16 ++++---- .../{farrisilk => customer1}/httproute.yaml | 12 +++--- .../kustomization.yaml | 14 +++---- .../{farrisilk => customer1}/metabase.yaml | 14 +++---- .../{farrisilk => customer1}/namespace.yaml | 4 +- .../{farrisilk => customer1}/odoo-init.yaml | 8 ++-- apps/base/{farrisilk => customer1}/odoo.yaml | 14 +++---- .../postgres-init.yaml | 4 +- .../{farrisilk => customer1}/postgres.yaml | 10 ++--- apps/home/kustomization.yaml | 2 +- ...e.yaml => gateway-customer1-metabase.yaml} | 8 ++-- ...-odoo.yaml => gateway-customer1-odoo.yaml} | 4 +- .../host-firewall/rpi-ufw-internal-gw.sh | 4 +- .../host-firewall/siriussec-internal-gw.nft | 2 +- .../networking/internal/kustomization.yaml | 4 +- 16 files changed, 80 insertions(+), 80 deletions(-) rename apps/base/{farrisilk => customer1}/README.md (94%) rename apps/base/{farrisilk => customer1}/backup.yaml (95%) rename apps/base/{farrisilk => customer1}/httproute.yaml (81%) rename apps/base/{farrisilk => customer1}/kustomization.yaml (50%) rename apps/base/{farrisilk => customer1}/metabase.yaml (89%) rename apps/base/{farrisilk => customer1}/namespace.yaml (63%) rename apps/base/{farrisilk => customer1}/odoo-init.yaml (96%) rename apps/base/{farrisilk => customer1}/odoo.yaml (96%) rename apps/base/{farrisilk => customer1}/postgres-init.yaml (97%) rename apps/base/{farrisilk => customer1}/postgres.yaml (95%) rename infrastructure/networking/internal/{gateway-farrisilk-metabase.yaml => gateway-customer1-metabase.yaml} (72%) rename infrastructure/networking/internal/{gateway-farrisilk-odoo.yaml => gateway-customer1-odoo.yaml} (91%) diff --git a/apps/base/farrisilk/README.md b/apps/base/customer1/README.md similarity index 94% rename from apps/base/farrisilk/README.md rename to apps/base/customer1/README.md index ae1fd3c..9d13b97 100644 --- a/apps/base/farrisilk/README.md +++ b/apps/base/customer1/README.md @@ -1,14 +1,14 @@ -# farrisilk — lab replica of the Farrisilk client stack +# customer1 — lab replica of the Customer 1 client stack -A **development/audit sandbox** shaped like Farrisilk Inc.'s production stack — +A **development/audit sandbox** shaped like Customer 1 Inc.'s production stack — not a copy of their traffic, and not their architecture. Odoo 18 + a plain -PostgreSQL + Metabase, WireGuard-only, in namespace `farrisilk`. +PostgreSQL + Metabase, WireGuard-only, in namespace `customer1`. | Service | URL over WireGuard | Bare IP? | Notes | |---|---|---|---| | Odoo 18 | `http://10.10.0.2:8086/` | yes, any `Host` | `http://10.10.0.2:8086/web/login` | | Metabase | `http://10.10.0.2:8087/` | yes, any `Host` | secondary instance, 1 GiB heap | -| PostgreSQL | `pg.farrisilk.svc.cluster.local:5432` | in-cluster only | no NodePort, no gateway | +| PostgreSQL | `pg.customer1.svc.cluster.local:5432` | in-cluster only | no NodePort, no gateway | `10.10.0.2` is siriussec, the only node labelled `gateway=true` (the only node running `cilium-envoy`). Nothing here has a public hostname, a tunnel entry or a @@ -41,8 +41,8 @@ This namespace is our sandbox for developing and auditing against *their* shape: | Two hostname-less HTTPRoutes | `httproute.yaml` | Gateways live with the other internal listeners: -`infrastructure/networking/internal/gateway-farrisilk-odoo.yaml` (8086) and -`gateway-farrisilk-metabase.yaml` (8087). **Each bare-IP service gets its own +`infrastructure/networking/internal/gateway-customer1-odoo.yaml` (8086) and +`gateway-customer1-metabase.yaml` (8087). **Each bare-IP service gets its own Gateway**: Cilium renders one RouteConfiguration per Gateway and merges every hostname-less route inside it into a weighted route, so two services sharing a Gateway answer for each other at random. The host firewall @@ -65,7 +65,7 @@ separate Job to race against: - `CREATE EXTENSION IF NOT EXISTS unaccent` as the database owner; - (re)applies the read-only BI grants and credential-table revokes, every start, so tables added by a later module install are covered too; - - sets the admin login/password from Secret `farrisilk/odoo-admin` via + - sets the admin login/password from Secret `customer1/odoo-admin` via `odoo shell`. Restarting the pod is safe and visibly idempotent: @@ -80,9 +80,9 @@ Copy the module directory into the `odoo-extra-addons` PVC, then install it through the ORM: ```bash -POD=$(kubectl -n farrisilk get pod -l app=odoo -o name | head -1) -kubectl -n farrisilk cp ./client_module "${POD#pod/}:/mnt/extra-addons/client_module" -c odoo -kubectl -n farrisilk exec -i deploy/odoo -c odoo -- \ +POD=$(kubectl -n customer1 get pod -l app=odoo -o name | head -1) +kubectl -n customer1 cp ./client_module "${POD#pod/}:/mnt/extra-addons/client_module" -c odoo +kubectl -n customer1 exec -i deploy/odoo -c odoo -- \ odoo shell -c /etc/odoo-runtime/odoo.conf -d odoo --no-http --shell-interface=python <<'EOF' m = env['ir.module.module'].search([('name', '=', 'client_module')]) m.button_immediate_install() @@ -91,7 +91,7 @@ print(m.state) EOF ``` -Then `kubectl -n farrisilk delete pod -l app=odoo` once, so `init-db` re-applies +Then `kubectl -n customer1 delete pod -l app=odoo` once, so `init-db` re-applies the `metabase_ro` SELECT grants to the tables the module just created (grants are re-applied on every pod start; `ALTER DEFAULT PRIVILEGES` covers tables created after the grant but not before it). @@ -154,7 +154,7 @@ does not give you. | Item | Value | |---|---| -| CronJob | `farrisilk/pg-backup` | +| CronJob | `customer1/pg-backup` | | Schedule | `17 3 * * *`, `timeZone: America/Los_Angeles` (nightly) | | Guard rails | `concurrencyPolicy: Forbid`, `startingDeadlineSeconds: 600`, `backoffLimit: 1`, `activeDeadlineSeconds: 1800`, history 3 ok / 3 failed | | Databases | `odoo` **and** `metabase`, one `pg_dump -Fc` each | @@ -177,7 +177,7 @@ The script fails the Job (`rc=1`) if any `pg_dump` fails **or** if the archive comes back with an empty TOC — a broken backup turns red instead of silently succeeding, which a bare `pg_dump >> log 2>&1` cron does not do. -**Where the dumps actually are:** `/opt/local-path-provisioner/pvc-8f164f6c-…_farrisilk_backup-data` +**Where the dumps actually are:** `/opt/local-path-provisioner/pvc-8f164f6c-…_customer1_backup-data` on **siriussec only**. `local-path` is node-local, so the backup dies with the node. No off-box copy is implemented: the Garage S3 API at `http://10.10.0.1:3900` is reachable from a pod, but it needs a bucket plus @@ -188,8 +188,8 @@ described setup. Trigger a run on demand (what the manual proof below did): ```bash -kubectl -n farrisilk create job --from=cronjob/pg-backup pg-backup-manual-1 -kubectl -n farrisilk logs job/pg-backup-manual-1 +kubectl -n customer1 create job --from=cronjob/pg-backup pg-backup-manual-1 +kubectl -n customer1 logs job/pg-backup-manual-1 ``` ### Restore — it is TWO steps, and the second one is the one people forget @@ -214,7 +214,7 @@ bytes from the Odoo PVC by hand: ```bash # from the Odoo pod (uid 100): tar the filestore directory, not the DB -kubectl -n farrisilk exec deploy/odoo -- \ +kubectl -n customer1 exec deploy/odoo -- \ tar czf - -C /var/lib/odoo filestore | gzip -d | tar xzf - -C ``` @@ -322,13 +322,13 @@ If a future image drops wkhtmltopdf, the fix is a derived image 2 GiB — this is a *second* Metabase next to the `metabase` namespace evaluation instance and does not repeat its 1.5 GiB heap on this laptop. - State lives in the same Postgres, database `metabase`, user `metabase`. -- **`MB_ENCRYPTION_SECRET_KEY` is set** (Secret `farrisilk/metabase-secret-key`) +- **`MB_ENCRYPTION_SECRET_KEY` is set** (Secret `customer1/metabase-secret-key`) so stored data-source passwords are not encrypted with Metabase's default key. Keep it stable: rotating it makes every stored datasource password undecryptable. - Set up entirely through the API (`/api/session/properties` → `POST /api/setup` → `POST /api/session` → `POST /api/database` → `sync_schema`), one data source: - **`farrisilk odoo`** → `pg.farrisilk.svc.cluster.local:5432/odoo` as + **`customer1 odoo`** → `pg.customer1.svc.cluster.local:5432/odoo` as `metabase_ro`. - Metabase has no per-database "read-only" switch for PostgreSQL sources; the read-only guarantee here is the **role**, which is stronger (see below). @@ -386,7 +386,7 @@ Created before the Kustomization applies; never in git, never printed: | `odoo-config` | `admin_passwd` | Odoo database master password | | `odoo-admin` | `email`, `password` | Odoo web admin login (uid 2) | | `metabase-admin` | `email`, `password` | Metabase's own login (**email**, no username) | -| `metabase-data-source-creds` | `username`=metabase_ro, `password` | the `farrisilk odoo` data source | +| `metabase-data-source-creds` | `username`=metabase_ro, `password` | the `customer1 odoo` data source | | `metabase-secret-key` | `MB_ENCRYPTION_SECRET_KEY` | Metabase at-rest encryption | ## Shopify — integration surface only, blocked on client credentials @@ -415,7 +415,7 @@ the connector module). Until then the Odoo side stays unconfigured on purpose. - The card's build section names db `odoo` (owner `odoo`), §4 grants on database `odoo`, and Metabase's data source is `…:5432/odoo`, while the Odoo - config bullet said `db_name=farrisilk`. Those cannot both hold; the stack is + config bullet said `db_name=customer1`. Those cannot both hold; the stack is aligned on **`odoo`** (`db_name`, `dbfilter=^odoo$`, `ODOO_DB_NAME`, the BI grants and the Metabase source all say `odoo`). - `base,web` are installed (not `base` alone) so `/web/login` serves a real web diff --git a/apps/base/farrisilk/backup.yaml b/apps/base/customer1/backup.yaml similarity index 95% rename from apps/base/farrisilk/backup.yaml rename to apps/base/customer1/backup.yaml index 2e5e13a..4ed7a84 100644 --- a/apps/base/farrisilk/backup.yaml +++ b/apps/base/customer1/backup.yaml @@ -22,9 +22,9 @@ apiVersion: v1 kind: PersistentVolumeClaim metadata: name: backup-data - namespace: farrisilk + namespace: customer1 labels: - app.kubernetes.io/part-of: farrisilk + app.kubernetes.io/part-of: customer1 spec: accessModes: [ReadWriteOnce] storageClassName: local-path @@ -36,9 +36,9 @@ apiVersion: v1 kind: ConfigMap metadata: name: pg-backup-script - namespace: farrisilk + namespace: customer1 labels: - app.kubernetes.io/part-of: farrisilk + app.kubernetes.io/part-of: customer1 data: backup.sh: | #!/bin/sh @@ -88,9 +88,9 @@ apiVersion: batch/v1 kind: CronJob metadata: name: pg-backup - namespace: farrisilk + namespace: customer1 labels: - app.kubernetes.io/part-of: farrisilk + app.kubernetes.io/part-of: customer1 spec: # Parked with the stack (see odoo.yaml): no dumps while Postgres is at 0. suspend: true @@ -110,7 +110,7 @@ spec: metadata: labels: app: pg-backup - app.kubernetes.io/part-of: farrisilk + app.kubernetes.io/part-of: customer1 spec: restartPolicy: Never automountServiceAccountToken: false @@ -132,7 +132,7 @@ spec: command: ["/bin/sh", "/opt/backup/backup.sh"] env: - name: PGHOST - value: pg.farrisilk.svc.cluster.local + value: pg.customer1.svc.cluster.local - name: PGPORT value: "5432" - name: PGUSER diff --git a/apps/base/farrisilk/httproute.yaml b/apps/base/customer1/httproute.yaml similarity index 81% rename from apps/base/farrisilk/httproute.yaml rename to apps/base/customer1/httproute.yaml index 5c99157..b870d0e 100644 --- a/apps/base/farrisilk/httproute.yaml +++ b/apps/base/customer1/httproute.yaml @@ -5,16 +5,16 @@ # cannot edit /etc/hosts. Cilium renders ONE RouteConfiguration per Gateway and # merges every hostname-less route in it into a single weighted route, so two # services sharing one Gateway serve each other's traffic at random regardless -# of listener port. Hence gateway-farrisilk-odoo.yaml (8086) and -# gateway-farrisilk-metabase.yaml (8087) in infrastructure/networking/internal/. +# of listener port. Hence gateway-customer1-odoo.yaml (8086) and +# gateway-customer1-metabase.yaml (8087) in infrastructure/networking/internal/. apiVersion: gateway.networking.k8s.io/v1 kind: HTTPRoute metadata: name: odoo - namespace: farrisilk + namespace: customer1 spec: parentRefs: - - name: farrisilk-odoo + - name: customer1-odoo namespace: internal rules: - matches: @@ -29,10 +29,10 @@ apiVersion: gateway.networking.k8s.io/v1 kind: HTTPRoute metadata: name: metabase - namespace: farrisilk + namespace: customer1 spec: parentRefs: - - name: farrisilk-metabase + - name: customer1-metabase namespace: internal rules: - matches: diff --git a/apps/base/farrisilk/kustomization.yaml b/apps/base/customer1/kustomization.yaml similarity index 50% rename from apps/base/farrisilk/kustomization.yaml rename to apps/base/customer1/kustomization.yaml index ed462db..b25ead7 100644 --- a/apps/base/farrisilk/kustomization.yaml +++ b/apps/base/customer1/kustomization.yaml @@ -3,13 +3,13 @@ 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 + # customer1/pg-app basic-auth, postgres superuser + # customer1/pg-users odoo/metabase/metabase_ro role passwords + # customer1/odoo-config admin_passwd (database master password) + # customer1/odoo-admin email, password (web admin login) + # customer1/metabase-admin email, password (Metabase's own login) + # customer1/metabase-data-source-creds username=metabase_ro + password + # customer1/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 diff --git a/apps/base/farrisilk/metabase.yaml b/apps/base/customer1/metabase.yaml similarity index 89% rename from apps/base/farrisilk/metabase.yaml rename to apps/base/customer1/metabase.yaml index 1c215a4..0fac78f 100644 --- a/apps/base/farrisilk/metabase.yaml +++ b/apps/base/customer1/metabase.yaml @@ -1,5 +1,5 @@ # Metabase for the lab replica — its own state in the SAME plain Postgres -# (database `metabase`), one data source: `farrisilk odoo` as `metabase_ro`. +# (database `metabase`), one data source: `customer1 odoo` as `metabase_ro`. # # This is a SECOND instance next to the evaluation one in namespace `metabase`. # The laptop is on a marginal USB-C supply, so it does not repeat that @@ -8,15 +8,15 @@ # MB_ENCRYPTION_SECRET_KEY is set here on purpose. Without it Metabase encrypts # stored data-source passwords with a key derived from its own default, so a # copy of the app DB is enough to read them. The key lives in Secret -# `farrisilk/metabase-secret-key` and must stay stable for the life of the app +# `customer1/metabase-secret-key` and must stay stable for the life of the app # DB — rotating it makes every stored datasource password undecryptable. apiVersion: apps/v1 kind: Deployment metadata: name: metabase - namespace: farrisilk + namespace: customer1 spec: - # Parked 2026-11-22 (power budget) — see apps/base/farrisilk/odoo.yaml. + # Parked 2026-11-22 (power budget) — see apps/base/customer1/odoo.yaml. replicas: 0 selector: matchLabels: @@ -25,7 +25,7 @@ spec: metadata: labels: app: metabase - app.kubernetes.io/part-of: farrisilk + app.kubernetes.io/part-of: customer1 spec: nodeSelector: kubernetes.io/hostname: siriussec @@ -46,7 +46,7 @@ spec: - name: MB_DB_TYPE value: postgres - name: MB_DB_HOST - value: pg.farrisilk.svc.cluster.local + value: pg.customer1.svc.cluster.local - name: MB_DB_PORT value: "5432" - name: MB_DB_DBNAME @@ -96,7 +96,7 @@ apiVersion: v1 kind: Service metadata: name: metabase - namespace: farrisilk + namespace: customer1 spec: type: ClusterIP selector: diff --git a/apps/base/farrisilk/namespace.yaml b/apps/base/customer1/namespace.yaml similarity index 63% rename from apps/base/farrisilk/namespace.yaml rename to apps/base/customer1/namespace.yaml index d06ff54..0fed73f 100644 --- a/apps/base/farrisilk/namespace.yaml +++ b/apps/base/customer1/namespace.yaml @@ -1,7 +1,7 @@ apiVersion: v1 kind: Namespace metadata: - name: farrisilk + name: customer1 labels: - app.kubernetes.io/part-of: farrisilk + app.kubernetes.io/part-of: customer1 sirius.dev/purpose: lab-replica-of-client-stack diff --git a/apps/base/farrisilk/odoo-init.yaml b/apps/base/customer1/odoo-init.yaml similarity index 96% rename from apps/base/farrisilk/odoo-init.yaml rename to apps/base/customer1/odoo-init.yaml index 47cf718..cd90251 100644 --- a/apps/base/farrisilk/odoo-init.yaml +++ b/apps/base/customer1/odoo-init.yaml @@ -9,7 +9,7 @@ # 3. CREATE EXTENSION unaccent, as the database owner # 4. (re)apply the read-only BI grants over every table Odoo just created, # including revoking the tables that carry credentials -# 5. set the admin login/password from Secret `farrisilk/odoo-admin` +# 5. set the admin login/password from Secret `customer1/odoo-admin` # # Step 4 runs unconditionally, not only on first install: it is what picks up # tables added by a later module install (`-i`/`-u` from /mnt/extra-addons), and @@ -19,11 +19,11 @@ apiVersion: v1 kind: ConfigMap metadata: name: odoo-init - namespace: farrisilk + namespace: customer1 data: init_db.py: | #!/usr/bin/env python3 - """Idempotent first-run provisioning of the Farrisilk lab Odoo database.""" + """Idempotent first-run provisioning of the Customer 1 lab Odoo database.""" import os import subprocess import sys @@ -157,7 +157,7 @@ data: print(f"metabase_ro: SELECT granted on {readable} tables; " f"revoked on {revoked}", flush=True) - # Admin login/password from Secret farrisilk/odoo-admin. `odoo shell` is + # Admin login/password from Secret customer1/odoo-admin. `odoo shell` is # the supported way to set a res.users password without hand-rolling a # pbkdf2 hash. Re-writing the same value on every start is harmless. payload = ( diff --git a/apps/base/farrisilk/odoo.yaml b/apps/base/customer1/odoo.yaml similarity index 96% rename from apps/base/farrisilk/odoo.yaml rename to apps/base/customer1/odoo.yaml index 859b17d..3ba36d4 100644 --- a/apps/base/farrisilk/odoo.yaml +++ b/apps/base/customer1/odoo.yaml @@ -1,4 +1,4 @@ -# Odoo 18 — the application half of the Farrisilk lab replica. +# Odoo 18 — the application half of the Customer 1 lab replica. # # Image is pinned to the DATED build, never `18.0`/`latest`: Odoo auto-migrates # its database schema on start, so a floating tag turns a pod restart into an @@ -12,7 +12,7 @@ apiVersion: v1 kind: PersistentVolumeClaim metadata: name: odoo-data - namespace: farrisilk + namespace: customer1 spec: accessModes: [ReadWriteOnce] storageClassName: local-path @@ -21,7 +21,7 @@ spec: storage: 10Gi --- # Empty by default. This is where the client's custom modules are copied in -# (`kubectl cp ./module farrisilk/:/mnt/extra-addons/...`), which is +# (`kubectl cp ./module customer1/:/mnt/extra-addons/...`), which is # why it is a PVC and not an emptyDir: a module installed from here must survive # a pod restart, or the modules table and the addons path disagree and Odoo # refuses to start the affected modules. @@ -29,7 +29,7 @@ apiVersion: v1 kind: PersistentVolumeClaim metadata: name: odoo-extra-addons - namespace: farrisilk + namespace: customer1 spec: accessModes: [ReadWriteOnce] storageClassName: local-path @@ -41,7 +41,7 @@ apiVersion: apps/v1 kind: Deployment metadata: name: odoo - namespace: farrisilk + namespace: customer1 spec: # Parked 2026-11-22: siriussec's 15 W adapter cannot carry this replica # stack (Odoo + two JVM/Postgres processes) alongside the public gateway @@ -56,7 +56,7 @@ spec: metadata: labels: app: odoo - app.kubernetes.io/part-of: farrisilk + app.kubernetes.io/part-of: customer1 spec: # Envoy has to reach the backend on the same node it serves from, and the # filestore PVC is local-path (siriussec-only anyway). @@ -249,7 +249,7 @@ apiVersion: v1 kind: Service metadata: name: odoo - namespace: farrisilk + namespace: customer1 spec: type: ClusterIP selector: diff --git a/apps/base/farrisilk/postgres-init.yaml b/apps/base/customer1/postgres-init.yaml similarity index 97% rename from apps/base/farrisilk/postgres-init.yaml rename to apps/base/customer1/postgres-init.yaml index 652de5e..06b3998 100644 --- a/apps/base/farrisilk/postgres-init.yaml +++ b/apps/base/customer1/postgres-init.yaml @@ -13,13 +13,13 @@ # installed them (the odoo Deployment's initContainer), because # at this point the `odoo` database has no tables at all. # -# Passwords arrive as env vars from Secret `farrisilk/pg-users` (out of band); +# Passwords arrive as env vars from Secret `customer1/pg-users` (out of band); # nothing here is a credential literal. apiVersion: v1 kind: ConfigMap metadata: name: pg-init - namespace: farrisilk + namespace: customer1 data: 01-init-dbs.sh: | #!/bin/bash diff --git a/apps/base/farrisilk/postgres.yaml b/apps/base/customer1/postgres.yaml similarity index 95% rename from apps/base/farrisilk/postgres.yaml rename to apps/base/customer1/postgres.yaml index c2710a2..2de1599 100644 --- a/apps/base/farrisilk/postgres.yaml +++ b/apps/base/customer1/postgres.yaml @@ -16,7 +16,7 @@ apiVersion: v1 kind: PersistentVolumeClaim metadata: name: pg-data - namespace: farrisilk + namespace: customer1 spec: accessModes: [ReadWriteOnce] storageClassName: local-path @@ -28,9 +28,9 @@ apiVersion: apps/v1 kind: Deployment metadata: name: pg - namespace: farrisilk + namespace: customer1 spec: - # Parked 2026-11-22 (power budget) — see apps/base/farrisilk/odoo.yaml. + # Parked 2026-11-22 (power budget) — see apps/base/customer1/odoo.yaml. # Recreate: the data directory must be released before anything restarts. replicas: 0 strategy: @@ -42,7 +42,7 @@ spec: metadata: labels: app: pg - app.kubernetes.io/part-of: farrisilk + app.kubernetes.io/part-of: customer1 spec: nodeSelector: kubernetes.io/hostname: siriussec @@ -131,7 +131,7 @@ apiVersion: v1 kind: Service metadata: name: pg - namespace: farrisilk + namespace: customer1 spec: type: ClusterIP selector: diff --git a/apps/home/kustomization.yaml b/apps/home/kustomization.yaml index 55b2076..de35548 100644 --- a/apps/home/kustomization.yaml +++ b/apps/home/kustomization.yaml @@ -7,4 +7,4 @@ resources: - ../base/sirius-growth - ../base/osint - ../base/metabase - - ../base/farrisilk + - ../base/customer1 diff --git a/infrastructure/networking/internal/gateway-farrisilk-metabase.yaml b/infrastructure/networking/internal/gateway-customer1-metabase.yaml similarity index 72% rename from infrastructure/networking/internal/gateway-farrisilk-metabase.yaml rename to infrastructure/networking/internal/gateway-customer1-metabase.yaml index 8619fb6..9c8ece1 100644 --- a/infrastructure/networking/internal/gateway-farrisilk-metabase.yaml +++ b/infrastructure/networking/internal/gateway-customer1-metabase.yaml @@ -1,5 +1,5 @@ -# Own Gateway for the Farrisilk lab Metabase (:8087) — see -# gateway-farrisilk-odoo.yaml for why one bare-IP service per Gateway. +# Own Gateway for the Customer 1 lab Metabase (:8087) — see +# gateway-customer1-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 @@ -7,12 +7,12 @@ apiVersion: gateway.networking.k8s.io/v1 kind: Gateway metadata: - name: farrisilk-metabase + name: customer1-metabase namespace: internal labels: dedicated: network annotations: - sirius.dev/purpose: bare-IP listener for the Farrisilk lab Metabase (WireGuard only) + sirius.dev/purpose: bare-IP listener for the Customer 1 lab Metabase (WireGuard only) spec: gatewayClassName: cilium listeners: diff --git a/infrastructure/networking/internal/gateway-farrisilk-odoo.yaml b/infrastructure/networking/internal/gateway-customer1-odoo.yaml similarity index 91% rename from infrastructure/networking/internal/gateway-farrisilk-odoo.yaml rename to infrastructure/networking/internal/gateway-customer1-odoo.yaml index 5a65a7b..d0d5315 100644 --- a/infrastructure/networking/internal/gateway-farrisilk-odoo.yaml +++ b/infrastructure/networking/internal/gateway-customer1-odoo.yaml @@ -12,12 +12,12 @@ apiVersion: gateway.networking.k8s.io/v1 kind: Gateway metadata: - name: farrisilk-odoo + name: customer1-odoo namespace: internal labels: dedicated: network annotations: - sirius.dev/purpose: bare-IP listener for the Farrisilk lab Odoo (WireGuard only) + sirius.dev/purpose: bare-IP listener for the Customer 1 lab Odoo (WireGuard only) spec: gatewayClassName: cilium listeners: diff --git a/infrastructure/networking/internal/host-firewall/rpi-ufw-internal-gw.sh b/infrastructure/networking/internal/host-firewall/rpi-ufw-internal-gw.sh index 16dfe94..f20e0f8 100644 --- a/infrastructure/networking/internal/host-firewall/rpi-ufw-internal-gw.sh +++ b/infrastructure/networking/internal/host-firewall/rpi-ufw-internal-gw.sh @@ -8,8 +8,8 @@ # Ports: 8081 = Grafana (`internal` Gateway listener http-internal), # 8084 = Hubble UI (`internal` Gateway listener hubble-ui), # 8085 = Metabase (`metabase` Gateway listener http-internal), -# 8086 = Farrisilk lab Odoo (`farrisilk-odoo` Gateway), -# 8087 = Farrisilk lab Metabase (`farrisilk-metabase` Gateway). +# 8086 = Customer 1 lab Odoo (`customer1-odoo` Gateway), +# 8087 = Customer 1 lab Metabase (`customer1-metabase` Gateway). # Add a new internal listener port to PORTS; the loop is idempotent, so # re-running after a port is already firewalled only adds what is missing. # diff --git a/infrastructure/networking/internal/host-firewall/siriussec-internal-gw.nft b/infrastructure/networking/internal/host-firewall/siriussec-internal-gw.nft index 046a53c..6f07915 100644 --- a/infrastructure/networking/internal/host-firewall/siriussec-internal-gw.nft +++ b/infrastructure/networking/internal/host-firewall/siriussec-internal-gw.nft @@ -1,6 +1,6 @@ #!/usr/sbin/nft -f # Internal (WireGuard-only) gateway listeners: TCP 8081 (Grafana), 8084 -# (Hubble UI), 8085 (Metabase) and 8086/8087 (Farrisilk lab replica: Odoo, +# (Hubble UI), 8085 (Metabase) and 8086/8087 (Customer 1 lab replica: Odoo, # Metabase). # # Cilium's hostNetwork Envoy binds every Gateway listener on 0.0.0.0, so the diff --git a/infrastructure/networking/internal/kustomization.yaml b/infrastructure/networking/internal/kustomization.yaml index fc93e64..a0c4937 100644 --- a/infrastructure/networking/internal/kustomization.yaml +++ b/infrastructure/networking/internal/kustomization.yaml @@ -5,5 +5,5 @@ resources: - gateway.yaml - gateway-hubble-ui.yaml - gateway-metabase.yaml - - gateway-farrisilk-odoo.yaml - - gateway-farrisilk-metabase.yaml + - gateway-customer1-odoo.yaml + - gateway-customer1-metabase.yaml