From 671589ba8c430491cee6ca481958249be5380164 Mon Sep 17 00:00:00 2001 From: Pierre Brisorgueil Date: Wed, 17 Jun 2026 12:15:26 +0200 Subject: [PATCH] docs(billing): genericize prod namespace + mongo pod in runbooks (OSS hygiene) --- modules/billing/RUNBOOKS.md | 4 ++-- modules/billing/crons/README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/billing/RUNBOOKS.md b/modules/billing/RUNBOOKS.md index 7fb42032c..d1aec7301 100644 --- a/modules/billing/RUNBOOKS.md +++ b/modules/billing/RUNBOOKS.md @@ -100,7 +100,7 @@ Operational runbooks for the billing module. Each runbook references real endpoi 1. Identify the divergence from the weekly reconciliation log: ```bash - kubectl logs -n pierreb-projects job/billing-reconcile- + kubectl logs -n job/billing-reconcile- ``` Look for lines containing `divergence detected` — they include `orgId`, `stripeStatus`, `dbStatus`, `stripePlan`, `dbPlan`. @@ -212,7 +212,7 @@ db.cron_locks.deleteOne({ _id: "billing.extrasExpiration" }) Or via `kubectl exec` on the mongo pod: ```bash -kubectl exec -n pierreb-projects mongo-0 -- mongosh \ +kubectl exec -n -- mongosh \ "mongodb://localhost:27017/" \ --eval 'db.cron_locks.deleteOne({ _id: "billing.weeklyReset" })' ``` diff --git a/modules/billing/crons/README.md b/modules/billing/crons/README.md index 6aac1b921..c4b39f248 100644 --- a/modules/billing/crons/README.md +++ b/modules/billing/crons/README.md @@ -35,7 +35,7 @@ apiVersion: batch/v1 kind: CronJob metadata: name: billing-weekly-reset - namespace: pierreb-projects + namespace: your-namespace # replace with your namespace spec: schedule: "0 1 * * *" concurrencyPolicy: Forbid