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")