Updated on 2026-08-10 GMT+08:00

Uploading and Downloading a Helm Chart on the Client

CodeArts Artifact can connect to local Helm clients. You may upload your private packages from your local Helm client to self-hosted repos and share them with others, who can download these Helm packages through their clients.

Helm Chart

Helm is a package manager for Kubernetes. Helm Charts enable you to manage and deploy Kubernetes applications.

Constraints

The repository password for a self-hosted repo is account-specific. If you are prompted for a password while using a different account, download the configuration file from the repository's Tutorial tab to obtain it.

Prerequisites

Uploading a Helm Chart from the Client

  1. Access self-hosted repos using your Huawei Cloud account.
  2. Select the target Helm repository on the self-hosted repo page.
  3. Click Tutorial on the right of the page.
  4. In the displayed dialog box, click Download Guide File to download the repositories.yaml file.

  5. Upload the Helm chart to the repository.

    curl -k -u "{{username}}:{{password}}" -X PUT url/{{filePath}} -T {{localFile}}
    • file path: path (including the name) of the Helm repository to be uploaded.
    • localFile: path (including the name) of the local Helm chart.
    • Obtain the values of username, password, and url from the repositories.yaml file downloaded in 4, as shown in the following figure:

Downloading a Helm Chart to the Client

  1. Access self-hosted repos using your Huawei Cloud account.
  2. Select the target Helm repository on the self-hosted repo page.
  3. Click Tutorial on the right of the page.
  4. In the displayed dialog box, click Download Guide File to download the repositories.yaml file.

  5. Add a Helm repository.

    helm repo add Helm repository ID Helm repository URL --username {{username}} --password {{password}} --insecure-skip-tls-verify

    Obtain the values of username and password from the downloaded repositories.yaml file in 4. Obtain the Helm repository ID from the red box in the following figure:

  6. Update the metadata.

    helm repo update

  7. Download the chart.

    helm pull Helm repository ID/{{filePath}} --version {{version}} --insecure-skip-tls-verify

    Obtain the values of username and password from the repositories.yaml file downloaded in 4, as shown in the following figure: