tencent cloud

All product documents
Helm Repository
Last updated: 2024-01-02 17:58:34
Helm Repository
Last updated: 2024-01-02 17:58:34
This document describes how to store Helm artifacts in CODING-AR, including how to create a repository and push, pull, and delete artifacts.

Open CODING-AR

1. Log in to the CODING Console and click Use Now to go to CODING page.
2. Click

in the upper-right corner to open the project list page and click a project icon to open the project.
3. In the menu on the left, click Artifact Management.

Preparations

Note:
Before you begin:
Create an artifact repository (see Basic Operations).
Select Helm as the repository type.

Create a Package (Optional)

This section describes how to quickly create a Helm chart. You can skip this section if you are familiar with Helm charts.

Method 1: create an image locally

1. In a local directory, create a Helm chart.
helm create [name]

2. Package the chart.
helm package [name]


Method 2: pull an artifact from Artifact Hub

Search for a Helm chart and run the download command in a local directory.
$ helm repo add [Remote Repository Name] [Remote Repository URL]
$ helm fetch [Helm Chart URL in the Remote Repository>]--version [Version]


After the commands are successfully run, you can view the artifact locally.


Configure Authentication Information

After creating a local artifact, you can push it to the remote repository. Before the push, you need to locally configure the authentication information of the remote repository. You can pull or push an artifact by using Helm + cURL or Helm + CODING Helm plugin as instructed in the Guide.

The following example uses the CODING Helm plugin:

Copy and run the command in the guide to install the plugin. Then click Generate configuration from access token, and copy and run the configuration command in the package directory.


Push an Artifact

Go to the directory where the Helm chart is stored and run the command in the Guide to push the specified Helm chart to the repository.
helm push [Package Name.tgz] [Repository Info in the Push Guide]

After the artifact is pushed successfully, refresh the page to view the latest artifacts.


Pull an Artifact

If your artifact repository is updated, run the update command before pulling an artifact.
helm repo update

After the update is successful, run the pull command.
helm fetch [Artifact Info in the pull guide] --version [Version]

Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 available.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon