Helm Chart Registry

Publish Helm charts for your user or organization.

Requirements

To work with the Helm Chart registry use a simple HTTP client like curl or the helm cm-push plugin.

Publish a package

Publish a package by running the following command:

  1. curl --user {username}:{password} -X POST --upload-file ./{chart_file}.tgz https://gitea.example.com/api/packages/{owner}/helm/api/charts

or with the helm cm-push plugin:

  1. helm repo add --username {username} --password {password} {repo} https://gitea.example.com/api/packages/{owner}/helm
  2. helm cm-push ./{chart_file}.tgz {repo}
ParameterDescription
usernameYour Gitea username.
passwordYour Gitea password. If you are using 2FA or OAuth use a personal access token instead of the password.
repoThe name for the repository.
chart_fileThe Helm Chart archive.
ownerThe owner of the package.

Install a package

To install a Helm char from the registry, execute the following command:

  1. helm repo add --username {username} --password {password} {repo} https://gitea.example.com/api/packages/{owner}/helm
  2. helm repo update
  3. helm install {name} {repo}/{chart}
ParameterDescription
usernameYour Gitea username.
passwordYour Gitea password or a personal access token.
repoThe name for the repository.
ownerThe owner of the package.
nameThe local name.
chartThe name Helm Chart.