From d6532ad9882cee6719e95d3660bb459a14770889 Mon Sep 17 00:00:00 2001 From: jungwoo choi Date: Sun, 30 Aug 2026 17:55:02 +0900 Subject: [PATCH] =?UTF-8?q?fix(console):=20=EB=A1=9C=EC=BB=AC=20=EC=95=B1?= =?UTF-8?q?=20=EC=83=81=EC=84=B8=20=EB=8D=B0=EC=9D=B4=ED=84=B0=EC=86=8C?= =?UTF-8?q?=EC=8A=A4=20=EC=97=B0=EA=B2=B0(=EB=B0=94=EC=9D=B8=EB=94=A9)=20?= =?UTF-8?q?=ED=91=9C=EC=8B=9C=20=E2=80=94=20dev=20deploy=20binds=20?= =?UTF-8?q?=EB=A6=AC=ED=8F=AC=ED=8A=B8=20+=20ServiceBinding=20=EC=8B=B1?= =?UTF-8?q?=ED=81=AC.=200.21.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.8 --- .yakcloud/dev.py | 5 ++++- bin/yakcloud | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.yakcloud/dev.py b/.yakcloud/dev.py index 47fa210..bcdb11f 100644 --- a/.yakcloud/dev.py +++ b/.yakcloud/dev.py @@ -540,7 +540,10 @@ def _report_to_console(project: str, reqs: list, wls: list) -> None: "secret": f"yak-dev-src-{sanitize(r['name'])}"} for r in reqs], "workloads": [{"name": sanitize(w["name"]), "image": w["image"].replace("${TAG}", TAG), "hosts": _disp_hosts(project, w), "port": int(w.get("port", 8080)), - "path": (w.get("expose", {}) or {}).get("path", "/") or "/"} for w in wls], + "path": (w.get("expose", {}) or {}).get("path", "/") or "/", + # 바인딩(별칭→소스) → 콘솔이 ServiceBinding 으로 저장 → 앱 카드 '연결' 패널 표시 + "binds": [{"alias": b["alias"], "source": b["source"]} for b in (w.get("binds") or [])]} + for w in wls], } body = json.dumps({"name": name, "displayName": name, "report": report}).encode() req = urllib.request.Request(url.rstrip("/") + "/api/v1/clusters/local", data=body, method="POST", diff --git a/bin/yakcloud b/bin/yakcloud index f52df99..ff9419d 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.21.1" +VERSION="0.21.2" # 로컬 개발 클러스터(kind) — 개발 후 운영까지 '직선 배포'의 dev 구간. DEV_CTX="${YAK_DEV_CONTEXT:-kind-yak-dev}" DEV_CLUSTER="${YAK_DEV_CLUSTER:-yak-dev}"