From dcca946a63e981d1b72368d8965e3def2912e288 Mon Sep 17 00:00:00 2001 From: jungwoo choi Date: Sun, 30 Aug 2026 22:39:11 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20Redis=20=EA=B3=B5=EC=9C=A0=20=EC=A0=9C?= =?UTF-8?q?=EA=B1=B0=20=E2=80=94=20=EC=A0=84=EC=9A=A9/=EC=99=B8=EB=B6=80?= =?UTF-8?q?=EB=A1=9C=20=ED=86=B5=EC=9D=BC=20=E2=80=94=200.24.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.8 --- .yakcloud/deploy.py | 4 ++++ bin/yakcloud | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.yakcloud/deploy.py b/.yakcloud/deploy.py index 57233b6..f8dea1b 100644 --- a/.yakcloud/deploy.py +++ b/.yakcloud/deploy.py @@ -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() diff --git a/bin/yakcloud b/bin/yakcloud index 9b17868..51b5bce 100755 --- a/bin/yakcloud +++ b/bin/yakcloud @@ -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}"