feat: serve Belki images through private MinIO

This commit is contained in:
nyan404 committed 2026-09-08 23:27:24 +03:00
1 parent b45e4925a6
commit ecc1f696da
14 files changed
+196 -121

No files matched your search

+1
View File
@@ -25,6 +25,7 @@
- VK scheduler lives in `app/belki/vk_scheduler.py`; use `BELKI_DATABASE_URL` in production and `BELKI_HISTORY_DB` for local SQLite checks. Keep mailing disabled until an administrator explicitly enables a conversation and schedule.
- The build job waits for the DinD daemon and runs `docker info` before building.
- Never commit `.env` or `.gitlab.variables.env`; the latter contains the GitLab Variable handoff and a namespace-scoped kubeconfig.
- Private image storage is the separate Kubernetes Secret `belki-image-store`, not the CI-recreated `belki-runtime`. It contains only the internal MinIO endpoints and bucket-scoped credentials; keep MinIO private and preserve the `/api/images/<id>` Belki proxy when changing upload flows.
## Agent Rules
- Zod `.describe()` on optional fields: always append `.optional()` — e.g. `zod.string().describe("…").optional()` — to avoid validation failures when the field is absent.