fix(console): 로컬 앱 상세 데이터소스 연결(바인딩) 표시 — dev deploy binds 리포트 + ServiceBinding 싱크. 0.21.2
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@ -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",
|
||||
|
||||
@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user