ops: route Belki S3 through HAProxy

This commit is contained in:
nyan404 committed 2026-09-24 00:56:35 +03:00
1 parent 6c508e7c1f
commit 3ae0257c46
4 files changed
+8 -3

No files matched your search

+4
View File
@@ -79,6 +79,10 @@ The final gateway Dockerfile must copy `nginx.conf` into the release image, not
`app/belki/image_host.py` now uses private distributed MinIO rather than `nyan.nyan404.ru`. The five internal S3 endpoints are tried in order for each operation; uploads are stored under an unguessable 128-bit object ID and public URLs resolve only through `https://cat.nyan404.ru/api/images/<id>`. Keep the MinIO bucket private. `belki-image-store` is a standalone out-of-band Secret with only `GetObject`/`PutObject` plus required `GetBucketLocation` for `belki-images`; never merge it into CI-recreated `belki-runtime` or commit credentials. Existing legacy img.nyan404.ru URLs remain stored as historical links and cannot be recovered by this change.
# 2026-09-24: Belki S3 HAProxy front door
`belki-image-store` now points to the in-cluster HAProxy Service `10.43.30.146:9000` (`minio-haproxy` in namespace `minio-proxy`) instead of listing the five MinIO node addresses. The live Secret was updated out-of-band and both Belki deployments were restarted; credentials remain out of the repository.
# 2026-09-21: admin inspection score breakdown
Inspection results persist the base score for the number of inspections and each resource's calculated contribution in addition to the total. `/admin` displays these details in a dedicated `Баллы` column without changing the VK/public report text; legacy rows fall back to the stored total.