docs: update zh-tw (#265)

Reviewed-on: https://gitea.com/gitea/docs/pulls/265
Reviewed-by: Lunny Xiao <[email protected]>
Co-authored-by: ifurther <[email protected]>
Co-committed-by: ifurther <[email protected]>
This commit is contained in:
ifurther
2025-09-03 21:00:35 +00:00
committed by techknowlogick
parent 908a27589d
commit cb462089e9
88 changed files with 3545 additions and 3423 deletions
@@ -4,17 +4,17 @@ slug: "helm"
sidebar_position: 50
---
# Helm Chart 注册
# Helm Chart 註冊
您的用户或组织发布 [Helm](https://helm.sh/) charts。
您的使用者或組織發佈 [Helm](https://helm.sh/) charts。
## 要求
要使用 Helm Chart 注册表,可以使用诸如 `curl` 或 [`helm cm-push`](https://github.com/chartmuseum/helm-push/) 插件之类的简HTTP客户端。
要使用 Helm Chart 註冊表,可以使用诸如 `curl` 或 [`helm cm-push`](https://github.com/chartmuseum/helm-push/) 插件之类的简HTTP客户端。
## 发布软件
## 發佈軟體
运行以下命令来发布软件包:
运行以下命令来發佈軟體包:
```shell
curl --user {username}:{password} -X POST --upload-file ./{chart_file}.tgz https://gitea.example.com/api/packages/{owner}/helm/api/charts
@@ -27,17 +27,17 @@ helm repo add --username {username} --password {password} {repo} https://gitea.
helm cm-push ./{chart_file}.tgz {repo}
```
| 参数 | 描述 |
| 參數 | 描述 |
| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `username` | 您的Gitea用户名 |
| `password` | 您的Gitea密。如果您使用的是2FA或OAuth使用[个人访问令牌](development/api-usage.md#通-api-认证)替代密码进行身份验证。 |
| `repo` | 仓库名称 |
| `chart_file` | Helm Chart 归文件 |
| `owner` | 软件包的所有者 |
| `username` | 您的Gitea使用者名 |
| `password` | 您的Gitea密。如果您使用的是2FA或OAuth使用[个人访问令牌](development/api-usage.md#通-api-認證)替代密碼進行身份驗證。 |
| `repo` | 存放庫名稱 |
| `chart_file` | Helm Chart 归文件 |
| `owner` | 軟體包的所有者 |
## 安装软件
## 安裝軟體
要从注册表中安Helm Chart请执行以下命令:
要从註冊表中安Helm Chart請執行以下命令:
```shell
helm repo add --username {username} --password {password} {repo} https://gitea.example.com/api/packages/{owner}/helm
@@ -45,11 +45,11 @@ helm repo update
helm install {name} {repo}/{chart}
```
| 参数 | 描述 |
| 參數 | 描述 |
| ---------- | --------------------------- |
| `username` | 您的Gitea用户名 |
| `password` | 您的Gitea密或个人访问令牌 |
| `repo` | 存库的名 |
| `owner` | 软件包的所有者 |
| `name` | 本地名 |
| `chart` | Helm Chart的名 |
| `username` | 您的Gitea使用者名 |
| `password` | 您的Gitea密或个人访问令牌 |
| `repo` | 存库的名 |
| `owner` | 軟體包的所有者 |
| `name` | 本地名 |
| `chart` | Helm Chart的名 |