0
0
mirror of https://gitea.com/gitea/docs.git synced 2025-05-10 22:15:06 +00:00
Files
appleboy dbfa0ba454 docs: add zh-tw folder (#195)
Signed-off-by: appleboy <appleboy.tw@gmail.com>
Reviewed-on: https://gitea.com/gitea/docs/pulls/195
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: appleboy <appleboy.tw@gmail.com>
Co-committed-by: appleboy <appleboy.tw@gmail.com>
2025-04-04 23:28:16 +00:00

2.4 KiB
Raw Permalink Blame History

date, slug, sidebar_position
date slug sidebar_position
2022-04-14T00:00:00+00:00 helm 50

Helm Chart 註冊表

為您的用戶或組織發布 Helm 圖表。

需求

要使用 Helm Chart 註冊表,請使用簡單的 HTTP 客戶端,如 curlhelm cm-push 插件。

發布套件

通過運行以下命令發布套件:

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 repo add  --username {username} --password {password} {repo} https://gitea.example.com/api/packages/{owner}/helm
helm cm-push ./{chart_file}.tgz {repo}
參數 描述
username 您的 Gitea 用戶名。
password 您的 Gitea 密碼。如果您使用 2FA 或 OAuth請使用 個人訪問令牌 代替密碼。
repo 倉庫的名稱。
chart_file Helm Chart 存檔。
owner 套件的擁有者。

安裝套件

要從註冊表中安裝 Helm 圖表,請執行以下命令:

helm repo add  --username {username} --password {password} {repo} https://gitea.example.com/api/packages/{owner}/helm
helm repo update
helm install {name} {repo}/{chart}
參數 描述
username 您的 Gitea 用戶名。
password 您的 Gitea 密碼或個人訪問令牌。
repo 倉庫的名稱。
owner 套件的擁有者。
name 本地名稱。
chart Helm Chart 的名稱。