mirror of
https://gitea.com/gitea/docs.git
synced 2026-07-22 12:17:50 +00:00
Update zh tw languages and fix some broken links (#455)
--------- Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: silverwind <2021+silverwind@noreply.gitea.com> Reviewed-on: https://gitea.com/gitea/docs/pulls/455 Reviewed-by: silverwind <2021+silverwind@noreply.gitea.com>
This commit is contained in:
@@ -10,17 +10,17 @@ sidebar_position: 50
|
||||
|
||||
## 要求
|
||||
|
||||
要使用 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
|
||||
```
|
||||
|
||||
或者使用 `helm cm-push` 插件:
|
||||
或者使用 `helm cm-push` 外掛:
|
||||
|
||||
```shell
|
||||
helm repo add --username {username} --password {password} {repo} https://gitea.example.com/api/packages/{owner}/helm
|
||||
@@ -29,15 +29,15 @@ helm cm-push ./{chart_file}.tgz {repo}
|
||||
|
||||
| 參數 | 描述 |
|
||||
| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
||||
| `username` | 您的Gitea使用者名 |
|
||||
| `password` | 您的Gitea密碼。如果您使用的是2FA或OAuth,請使用[个人访问令牌](development/api-usage.md#通過-api-認證)替代密碼進行身份驗證。 |
|
||||
| `username` | 您的Gitea使用者名稱 |
|
||||
| `password` | 您的Gitea密碼。如果您使用的是2FA或OAuth,請使用[個人存取權杖](development/api-usage.md#透過-api-認證)替代密碼進行身份驗證。 |
|
||||
| `repo` | 存放庫名稱 |
|
||||
| `chart_file` | Helm Chart 归檔文件 |
|
||||
| `owner` | 軟體包的所有者 |
|
||||
| `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
|
||||
@@ -47,9 +47,9 @@ helm install {name} {repo}/{chart}
|
||||
|
||||
| 參數 | 描述 |
|
||||
| ---------- | --------------------------- |
|
||||
| `username` | 您的Gitea使用者名 |
|
||||
| `password` | 您的Gitea密碼或个人访问令牌 |
|
||||
| `repo` | 存儲库的名稱 |
|
||||
| `owner` | 軟體包的所有者 |
|
||||
| `username` | 您的Gitea使用者名稱 |
|
||||
| `password` | 您的Gitea密碼或個人存取權杖 |
|
||||
| `repo` | 儲存庫的名稱 |
|
||||
| `owner` | 套件的所有者 |
|
||||
| `name` | 本地名稱 |
|
||||
| `chart` | Helm Chart的名稱 |
|
||||
|
||||
Reference in New Issue
Block a user