diff --git a/.yakcloud/dev.py b/.yakcloud/dev.py index 72d91d1..8ab7729 100644 --- a/.yakcloud/dev.py +++ b/.yakcloud/dev.py @@ -414,7 +414,8 @@ def _report_to_console(project: str, reqs: list, wls: list) -> None: "sources": [{"name": r["name"], "type": str(r.get("type", "")).upper(), "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))} for w in wls], + "hosts": _disp_hosts(project, w), "port": int(w.get("port", 8080)), + "path": (w.get("expose", {}) or {}).get("path", "/") 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 2f33bcd..dca30bd 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.19.0" +VERSION="0.19.1" # 로컬 개발 클러스터(kind) — 개발 후 운영까지 '직선 배포'의 dev 구간. DEV_CTX="${YAK_DEV_CONTEXT:-kind-yak-dev}" DEV_CLUSTER="${YAK_DEV_CLUSTER:-yak-dev}"