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