fix: 恢复 HWLAB production release 绑定
This commit is contained in:
@@ -102,6 +102,14 @@ HWLAB v0.2/v0.3 仓库内 `docs/reference/spec-*`,以及已收编的 `cloud-wo
|
||||
- 两个产品入口分别声明内部 NodePort `32009` 与 `32010`,公网 hostname、upstream 和 healthPath 由同一产品 exposure 对象唯一声明。
|
||||
- NC01 共享 `public-edge` 只允许通过 `configRef/path` 消费产品 exposure,不得复制 hostname、upstream 或形成第二 authority。
|
||||
- HWLAB Cloud Web/Workbench 的最终 web-probe 证据必须来自 PR 合并并经 CI/CD/GitOps/Argo 部署后的公网入口;本地 fake-server、localhost dist、临时 `--url` 和源码/API preflight 只能证明开发面,不得作为关闭用户入口 issue 或声明上线成功的替代证据。所有浏览器操作只经 `web-probe`,禁止直接调用 Playwright;公网 web-probe 发现问题时继续修复 PR 或运行面,再重新部署复测。
|
||||
- HWLAB 与 AgentRun 的环境绑定必须按 owning YAML 显式隔离:
|
||||
- development `NC01/v03` 只调用 `config/agentrun.yaml#controlPlane.lanes.nc01-v02`;
|
||||
- production `NC01/production` 只调用 `config/agentrun.yaml#controlPlane.lanes.nc01-release`;
|
||||
- production 不得依赖 `lanes.v03` 继承出的 manager URL、runner namespace 或 Secret namespace。
|
||||
- HWLAB 调 AgentRun 的服务间 API key 不属于统一管理员登录密码:
|
||||
- 唯一来源由 `config/hwlab-node-lanes.yaml#lanes.<lane>.targets.<node>.codeAgentRuntime.apiKeySourceRef/apiKeySourceKey` 声明;
|
||||
- 目标 Secret 名和 key 由同一 `codeAgentRuntime` 声明,并通过 `hwlab nodes secret ensure` 受控分发;
|
||||
- 禁止回退到 `/root/.config/hwlab-<lane>/master-server-admin-api-key.env` 等 lane 级隐式来源,也不得从运行面 Secret 反解。
|
||||
- 旧公网端口不是浏览器验收入口;内部 k3s service 仍可使用 `6667` 作为服务端口。
|
||||
- 不要把 master 上的其他 UniDesk frontend/backend-core 路径误判为 HWLAB 前端。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user