From 4bf520fb42cd84f5d14de2732a1ae46280cee7fa Mon Sep 17 00:00:00 2001 From: Nyan404 Date: Sat, 10 Oct 2026 22:04:35 +0300 Subject: [PATCH] ops: rotate belki admin password --- MEMORY.md | 2 ++ structure_and_data.md | 1 + 2 files changed, 3 insertions(+) diff --git a/MEMORY.md b/MEMORY.md index 5ea90bd..88dfb8a 100644 --- a/MEMORY.md +++ b/MEMORY.md @@ -1,5 +1,7 @@ # MEMORY +- 2026-10-10 live: rotated `BELKI_ADMIN_PASSWORD` from ignored `.secrets/BELKI_ADMIN_PASSWORD`, restarted web and bot, and verified `/api/admin/calculations` returns 200 with the current value and 401 with an invalid value. + - 2026-10-10 live: image tag `67d505f` with the clickable points activity menu is deployed in k3s; runtime introspection of the new `belki-bot` pod confirmed the three `points:*` button payloads. - 2026-10-10: VK points calculator activity selection has a clickable keyboard (`points:coaching`, `points:training`, `points:inspection`) and accepts both `прокачка`/`прокачку` and `тренировка`/`тренировку`. diff --git a/structure_and_data.md b/structure_and_data.md index 7e02c87..01b6721 100644 --- a/structure_and_data.md +++ b/structure_and_data.md @@ -20,6 +20,7 @@ - [`CONTRIBUTING.md`](./CONTRIBUTING.md): contribution and verification rules. ## Runtime / Deployment +- 2026-10-10: rotated `BELKI_ADMIN_PASSWORD` in the existing namespace Secret from ignored `.secrets/BELKI_ADMIN_PASSWORD`, restarted `belki-web` and `belki-bot`, and verified the admin API returned HTTP 200 with the current value and HTTP 401 with an invalid value. The password itself is not stored in Git. - 2026-10-10: deployed the clickable points activity menu and inflected activity aliases as image tag `67d505f`; `belki-bot`, web, and gateway rollouts completed successfully with new pods at zero restarts. Runtime verification inside the new bot pod exposed buttons `Прокачка`, `Тренировка`, `Осмотр` with `points:*` payloads. - 2026-10-10: the VK points calculator now shows clickable `Прокачка`, `Тренировка`, and `Осмотр` buttons at the activity prompt. Text input accepts both nominative and accusative forms (`прокачка`/`прокачку`, `тренировка`/`тренировку`). - 2026-10-10: performed a manual production rollout from the local checkout. The amd64 images `reg.nyan404.ru/cwshed-clone/belki:df5dd4e` (digest `sha256:bd0abf5ef86565534e9455a628c276fe49a39eca28c0581d581ea2c5a4b0dcf1`) and `reg.nyan404.ru/cwshed:df5dd4e` (digest `sha256:b274cfd43710fa7def9048601ad4de3da0895e2744e230cb0348f19b347a6eaa`) were built on `root@10.3.1.168` and applied to namespace `belki`. `VK_CALLBACK_SECRET` and `VK_CALLBACK_CONFIRMATION` came from ignored `.secrets/` files and were applied to `Secret/belki-runtime`; their values are not stored here. Direct callback and the cwshed `/api/vk/callback` proxy both returned HTTP 200 for the confirmation payload through an admin port-forward. The old bot ReplicaSet pod was still terminating during the final snapshot; the new pod was Running with zero restarts.