MEMORY: CI/CD kubeconfig lessons learned
This commit is contained in:
parent
c9f067e339
commit
3feda88555
3 changed files with 14 additions and 9 deletions
|
|
@ -30,6 +30,13 @@
|
||||||
- **Note**: Deployment patches to system components (CoreDNS, CNPG operator) are runtime changes. Document in infra notes so they can be re-applied if needed.
|
- **Note**: Deployment patches to system components (CoreDNS, CNPG operator) are runtime changes. Document in infra notes so they can be re-applied if needed.
|
||||||
- **Note**: CNPG Pooler CRD supports `spec.template.spec.affinity` but requires `containers` field too (name+image of pgbouncer)
|
- **Note**: CNPG Pooler CRD supports `spec.template.spec.affinity` but requires `containers` field too (name+image of pgbouncer)
|
||||||
|
|
||||||
|
## CI/CD Kubeconfig Lessons
|
||||||
|
- **Always use the PUBLIC IP** (188.34.201.101:6443) in deployer kubeconfigs — CI runners run externally and can't reach private IPs (10.0.1.5)
|
||||||
|
- **Kubeconfig for Forgejo must be base64-encoded** — the workflow does `base64 -d` before use
|
||||||
|
- **Use `kubectl config` commands** to build kubeconfig (not heredoc interpolation) — avoids CA cert corruption
|
||||||
|
- **Each deployer SA needs cross-namespace RoleBinding** — staging SA needs binding in prod namespace and vice versa
|
||||||
|
- **Never read kubeconfig contents** — generate on k3s-mgr, base64 encode, scp to /tmp, let user paste into Forgejo
|
||||||
|
|
||||||
## Game Save Files
|
## Game Save Files
|
||||||
- `memory/d2r.json` — Diablo II: Resurrected progress (Necro "Baltasar", Summoner build)
|
- `memory/d2r.json` — Diablo II: Resurrected progress (Necro "Baltasar", Summoner build)
|
||||||
- `memory/bg3.json` — Baldur's Gate 3 progress (Act 1, level 3)
|
- `memory/bg3.json` — Baldur's Gate 3 progress (Act 1, level 3)
|
||||||
|
|
|
||||||
|
|
@ -61,5 +61,11 @@
|
||||||
"dailyPLpct": 2.29,
|
"dailyPLpct": 2.29,
|
||||||
"totalReturn": 6.59
|
"totalReturn": 6.59
|
||||||
},
|
},
|
||||||
|
"middaySnapshot": {
|
||||||
|
"date": "2026-02-20",
|
||||||
|
"DFNS": 60.72,
|
||||||
|
"portfolioValue": 1079.87,
|
||||||
|
"totalReturn": 7.99
|
||||||
|
},
|
||||||
"pendingActions": []
|
"pendingActions": []
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -53,20 +53,12 @@
|
||||||
"priority": "soon",
|
"priority": "soon",
|
||||||
"context": "URL: https://snapapi.eu/v1/billing/webhook — Events: checkout.session.completed, customer.subscription.updated, customer.subscription.deleted, customer.updated"
|
"context": "URL: https://snapapi.eu/v1/billing/webhook — Events: checkout.session.completed, customer.subscription.updated, customer.subscription.deleted, customer.updated"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"id": "af9aa6d7",
|
|
||||||
"added": "2026-02-20",
|
|
||||||
"text": "SnapAPI: tag v0.4.4 for production",
|
|
||||||
"priority": "now",
|
|
||||||
"context": "Browser restart fix (BUG-007) — intermittent 503s in prod right now. Staggered restart + one-at-a-time guard.",
|
|
||||||
"lastNudged": "2026-02-20T11:19:48.788Z"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"id": "482054e4",
|
"id": "482054e4",
|
||||||
"added": "2026-02-20",
|
"added": "2026-02-20",
|
||||||
"text": "Check Forgejo CI runner — stuck/pending builds",
|
"text": "Check Forgejo CI runner — stuck/pending builds",
|
||||||
"priority": "now",
|
"priority": "now",
|
||||||
"context": "Both DocFast and SnapAPI CI builds showing 'Waiting to run' or failing. Runner may need restart or reconfiguration."
|
"context": "Both DocFast and SnapAPI CI builds failing — no runner available. CEOs deploying manually every time. Blocks automated staging+prod deploys. Runner may need restart or reinstall on k3s cluster."
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue