Skip to content

Commit ab663be

Browse files
hakan-perssonclaude
andcommitted
docs(prod): replace internal memory refs in overlay comments
Address Copilot review on #39: comments referenced Claude's internal "memory" notes (e.g. "see memory j26_prod_dbs_platsbank_cms_scoutin2" and the [[prod_overlay_pattern]] wikilink), which are meaningless to repo readers and age poorly. Rewrite them to reference concrete repo facts — the actual KV object name / prod DB, and the established j26-app / j26-auth prod overlays as the pattern reference. Comment-only changes; rendered output is unchanged. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent eb6386e commit ab663be

8 files changed

Lines changed: 11 additions & 10 deletions

File tree

k8s/app-manifest-prod/j26-cms/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
33

44
# Production overlay for j26-cms (Payload CMS). References the dev package as a base (left untouched)
5-
# and patches only what differs in prod, per [[prod_overlay_pattern]]:
5+
# and patches only what differs in prod, per the same prod-overlay pattern as the j26-app / j26-auth overlays:
66
# - namespace: j26-prod
77
# - image pinned to 0.1.0 (dev base tracks :latest; bare 0.1.0, no leading v)
88
# - SecretProviderClass: repoint PAYLOAD_SECRET → prod KV object, and ADD DATABASE_URL ← prod KV DSN

k8s/app-manifest-prod/j26-map/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
22
kind: Kustomization
33

44
# Production overlay for j26-map (static map frontend, no secrets, no DB). References the dev
5-
# package as a base (left untouched) and patches only what differs in prod, per [[prod_overlay_pattern]]:
5+
# package as a base (left untouched) and patches only what differs in prod, per the same prod-overlay pattern as the j26-app / j26-auth overlays:
66
# - namespace: j26-prod
77
# - image pinned to 0.1.0 (dev base tracks :latest; NB the GHCR tag is bare 0.1.0, no leading v)
88
# - ingress: dev's nginx Ingress is removed and replaced by a Traefik IngressRoute + StripPrefix

k8s/app-manifest-prod/j26-photo-permission/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: Kustomization
33

44
# Production overlay for j26-photo-permission (photo-consent frontend, no secrets, no DB).
55
# References the dev package as a base (left untouched) and patches only what differs in prod,
6-
# per [[prod_overlay_pattern]]:
6+
# per the same prod-overlay pattern as the j26-app / j26-auth overlays:
77
# - namespace: j26-prod
88
# - image pinned to v0.1.0 (dev base tracks :latest; NB this image's GHCR tag carries the leading
99
# `v` — like notifications, UNLIKE the bare 0.1.0 of map/screens/signupinfo)

k8s/app-manifest-prod/j26-platsbank/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: Kustomization
33

44
# Production overlay for j26-platsbank (Gleam-less TS service + Prisma; "platsbank"). References the
55
# dev package as a base (left untouched) and patches only what differs in prod, per
6-
# [[prod_overlay_pattern]]:
6+
# the same prod-overlay pattern as the j26-app / j26-auth overlays:
77
# - namespace: j26-prod
88
# - image pinned to 0.1.0 (dev base tracks :latest; bare 0.1.0, no leading v)
99
# - DB: dev uses the Azure Service Connector secret sc-postgresql531ff-secret; prod DROPS Service

k8s/app-manifest-prod/j26-platsbank/secret-provider-class.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# Prod-only SecretProviderClass for j26-platsbank. The dev base has NO SPC — dev sources the DB via
22
# the Azure Service Connector secret sc-postgresql531ff-secret. Prod drops Service Connector
33
# entirely (it isn't needed: the app only reads DATABASE_URL) and instead pulls the full DSN string
4-
# straight from Key Vault via CSI — exactly the j26-notifications pattern. This SPC materializes the
5-
# Secret `j26-platsbank-secrets` with key DATABASE_URL from the prod KV DSN object created 2026-06-29
6-
# (see memory j26_prod_dbs_platsbank_cms_scoutin2). The deployment patch wires DATABASE_URL from it.
4+
# straight from Key Vault via CSI — the same approach as j26-notifications. This SPC materializes the
5+
# Secret `j26-platsbank-secrets` with key DATABASE_URL from the KV object j26-prod-platsbank-postgres-dsn
6+
# (the DSN for the role-owned prod database j26_prod_platsbank on psql-j26apps-shared-sdc). The
7+
# deployment patch wires the container's DATABASE_URL env from this Secret.
78
apiVersion: secrets-store.csi.x-k8s.io/v1
89
kind: SecretProviderClass
910
metadata:

k8s/app-manifest-prod/j26-scoutin-2/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: Kustomization
33

44
# Production overlay for j26-scoutin-2 (check-in app; image is `scoutin-2`, NOT j26-scoutin-2).
55
# References the dev package as a base (left untouched) and patches only what differs in prod, per
6-
# [[prod_overlay_pattern]]:
6+
# the same prod-overlay pattern as the j26-app / j26-auth overlays:
77
# - namespace: j26-prod
88
# - image pinned to 0.1.0 (dev base tracks :latest; bare 0.1.0, no leading v)
99
# - SecretProviderClass: 21 keys = dev 20 + DATABASE_URL. 3 app-internal secrets repointed to fresh

k8s/app-manifest-prod/j26-screens/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: Kustomization
33

44
# Production overlay for j26-screens (static screens-display frontend, no secrets, no DB).
55
# References the dev package as a base (left untouched) and patches only what differs in prod,
6-
# per [[prod_overlay_pattern]]:
6+
# per the same prod-overlay pattern as the j26-app / j26-auth overlays:
77
# - namespace: j26-prod
88
# - image pinned to 0.1.0 (dev base tracks :latest; NB the GHCR tag is bare 0.1.0, no leading v)
99
# - ingress: dev's nginx Ingress is removed and replaced by a Traefik IngressRoute + StripPrefix

k8s/app-manifest-prod/j26-signupinfo/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: Kustomization
33

44
# Production overlay for j26-signupinfo (Scoutnet stats dashboard, FastAPI+React). No DB; secrets
55
# come from Azure KV via CSI. References the dev package as a base (left untouched) and patches
6-
# only what differs in prod, per [[prod_overlay_pattern]]:
6+
# only what differs in prod, per the same prod-overlay pattern as the j26-app / j26-auth overlays:
77
# - namespace: j26-prod
88
# - image pinned to 0.1.0 (dev base tracks :latest; NB the GHCR tag is bare 0.1.0, no leading v)
99
# - ServiceMonitor: namespaceSelector restated to j26-prod (see servicemonitor-patch.yaml)

0 commit comments

Comments
 (0)