cli v0.11.1: environments env 클러스터가 저장/전역 YAKCLOUD_CLUSTER 보다 우선(폴백 강등) — dev/prod 해석 정확화
This commit is contained in:
@ -211,7 +211,8 @@ def main() -> None:
|
||||
# 환경 해석: environments.<ENV>.{cluster,domains}. 하위호환: 없으면 top-level cluster:.
|
||||
envs = m.get("environments") or {}
|
||||
env_cfg = envs.get(ENV) or {}
|
||||
ref = CLUSTER_REF or env_cfg.get("cluster") or m.get("cluster")
|
||||
# environments 의 env 클러스터가 최우선(저장/전역 YAKCLOUD_CLUSTER 는 하위호환 폴백만).
|
||||
ref = env_cfg.get("cluster") or CLUSTER_REF or m.get("cluster")
|
||||
if not ref:
|
||||
raise SystemExit(
|
||||
f"환경 '{ENV}' 대상 클러스터 미지정 — 매니페스트 environments.{ENV}.cluster (또는 YAKCLOUD_CLUSTER). "
|
||||
|
||||
Reference in New Issue
Block a user