From 35a07ca374116914a177a407cfd93de5fffe7e8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CNaeel=E2=80=9D?= Date: Thu, 6 Aug 2026 21:40:28 +0400 Subject: [PATCH] =?UTF-8?q?go-container:=20=D1=85=D0=B0=D1=80=D0=B4=D0=BA?= =?UTF-8?q?=D0=BE=D0=B4=20S3=5FPREFIX=20c=20TODO-=D0=BA=D0=BE=D0=BC=D0=BC?= =?UTF-8?q?=D0=B5=D0=BD=D1=82=D0=B0=D1=80=D0=B8=D0=B5=D0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/main.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/server/main.go b/server/main.go index a07b7bc..8071c79 100644 --- a/server/main.go +++ b/server/main.go @@ -73,8 +73,14 @@ func main() { if hostname == "" { hostname = "localhost:8080" } + // ── TEMPORARY HARDCODE ────────────────────────────────────────────────── + // S3 data is stored under old hostname prefix from the previous Go deploy. + // TODO: REMOVE after devops adds jsonEnv editing to containerk8s "modify". + // Then read from ENV: s3Prefix = os.Getenv("S3_PREFIX") + // And set in UI jsonEnv: "S3_PREFIX": "registry.kube5s.ru" + // ───────────────────────────────────────────────────────────────────────── if s3Prefix == "" { - s3Prefix = "registry.kube5s.ru" // default S3 prefix (old Go hostname) + s3Prefix = "registry.kube5s.ru" } endpoint := os.Getenv("S3_ENDPOINT")