Skip to content
Alena edited this page Mar 31, 2023 · 4 revisions

Helm

Helm charts repository is a location where packaged charts can be stored and shared. Here is the configuration example for Helm repository:

repo:
  type: helm
  url: http://{host}:{port}/{repository-name}
  storage:
    type: fs
    path: /var/artipie/data

The repository configuration requires url field that contains repository full URL, {host} and {port} are Artipie service host and port, {repository-name} is the name of the repository (and repository name is the name of the repo config yaml file). Check storage documentations to learn more about storage setting.

The chart can be published with simple HTTP PUT request:

$ curl --data-binary "@my_chart-1.6.4.tgz" http://{host}:{port}/{repository-name}/my_chart-1.6.4.tgz

To install a chart with helm command line tool use the following commands:

# add new repository
$ helm repo add {repo-name} http://{host}:{port}/{repository-name}
# install chart
$ helm install my_chart {repo-name}

{repo-name} is the name of the repository for helm command line tool, use any name that is convenient.