fix: Redis 공유 제거 — 전용/외부로 통일 — 0.24.2

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-08-30 22:39:11 +09:00
parent 9b9c873bc7
commit dcca946a63
2 changed files with 5 additions and 1 deletions

View File

@ -99,6 +99,10 @@ def reconcile_source(req: dict) -> str | None:
# 앱이 맨 키/채널로 pub/sub 하면 NOPERM)라 **기본을 전용(local)**으로 → REDIS_URL 로 전권 사용(pub/sub 포함).
# 명시 mode 는 존중. shared redis 는 프리픽스-인지 앱 전용(mode: shared 로 명시).
mode = req.get("mode") or ("local" if stype == "REDIS" else "shared")
if stype == "REDIS" and mode == "shared": # 통일: redis 는 공유(프리픽스) 비투명 → 항상 전용(local)
log("⚠ Redis 는 공유(ACL 키/채널 프리픽스)가 pub/sub·맨키에 비투명이라 지원하지 않습니다 → 전용(local)으로 전환. "
"외부 관리 redis 는 mode: remote 로.")
mode = "local"
match = next((s for s in cluster_services() if s.get("name") == name), None)
if match and match.get("status") == "READY":
cur = str(match.get("mode") or "").lower()

View File

@ -16,7 +16,7 @@ set -uo pipefail # -e 미사용: 'test && action' 관용구가 값 없을 때
REPO="${YAKCLOUD_STARTER_REPO:-https://gitea.yakenator.io/yakenator/yakcloud-starter}"
BRANCH="${YAKCLOUD_STARTER_BRANCH:-main}"
VERSION="0.24.1"
VERSION="0.24.2"
# 로컬 개발 클러스터(kind) — 개발 후 운영까지 '직선 배포'의 dev 구간.
DEV_CTX="${YAK_DEV_CONTEXT:-kind-yak-dev}"
DEV_CLUSTER="${YAK_DEV_CLUSTER:-yak-dev}"