@gbits-jszx/gw-cli 2026.9.14-3 → 2026.9.14-4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -138,6 +138,8 @@ go run ./tools/cli --project-id gw-demo chart push
|
|
|
138
138
|
|
|
139
139
|
`deploy helm install` 的 release、namespace、Chart 地址、数据库资源名、kubeconfig/context 均由 `--project-id` 和固定规则推导;Chart 版本和镜像 tag 默认读取该项目的最近成功发布记录。`--version`、`--tag` 只用于跨机器、账本缺失、回滚或一次性覆盖。拉取 OCI Chart 时先复用 Helm 原生登录或公共访问;只有确认认证失败才补齐 Harbor 账密,隐藏密码输入、保存后通过 stdin 登录。支持 `--username` / `--password` 和 `GW_HARBOR_USERNAME` / `GW_HARBOR_PASSWORD`,也支持 `--helm-registry-config` / `HELM_REGISTRY_CONFIG` 指定执行机器的 Helm 凭据文件。网络、版本不存在等错误直接报告;`--dry-run` 不探测、不登录、不询问账密。
|
|
140
140
|
|
|
141
|
+
实际安装按 4 个阶段输出目标、Chart/profile、数据库 Secret 前置检查和 Helm 执行结果;默认等待期间每 10 秒打印已用时间与 Pod 状态。缺少 `<project-id>-database` 时会在 Helm 前失败并提示先运行 `deploy k3s init`,避免无输出等待 5 分钟。
|
|
142
|
+
|
|
141
143
|
Token 和密码在终端中不回显。配置文件保存明文凭据,Unix 下目录/文件权限为 0700/0600,Windows 使用用户目录 ACL。网关服务不读取此文件。
|
|
142
144
|
|
|
143
145
|
## 源码打包与本地验证
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
"files": [
|
|
10
10
|
"bin"
|
|
11
11
|
],
|
|
12
|
-
"gwVersion": "2026.9.14-
|
|
12
|
+
"gwVersion": "2026.9.14-4",
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"name": "@gbits-jszx/gw-cli",
|
|
15
15
|
"publishConfig": {
|
|
16
16
|
"access": "public",
|
|
17
17
|
"registry": "https://registry.npmjs.org/"
|
|
18
18
|
},
|
|
19
|
-
"version": "2026.9.14-
|
|
19
|
+
"version": "2026.9.14-4"
|
|
20
20
|
}
|