Manage Charts in the Chart repository
Chart or OCI Chart repositories with Manageable permissions support adding local templates, managing template versions, and deleting templates.
Add a chart
Upload an application template (Helm Chart) to a Chart or OCI Chart repository with Manageable permissions. The template format is usually .tar.gz or .tgz.
Procedure
-
In the left navigation bar, click Catalog > Chart repository.
-
Click Name of the template repository.
-
Click Add Chart, refer to the following parameters to choose a chart repository.
Parameter Description Target Location Select the Chart repository to directly synchronize the template into the template repository with management permissions, either in Chart or OCI Chart format. Project owners assigned to this Chart repository can then use the template directly. Chart Directory When selecting the chart repository type as OCI Chart, you need to choose or manually input the chart directory where Helm Charts are stored.
Note: When manually entering a new chart directory, the platform will create this directory in the chart repository, but there is a risk of creation failure. -
Click Upload Chart to upload the local Chart (application template) file to the repository.
-
Click Confirm.
The template upload process may take a few minutes. After a successful upload, the name displayed on the application template card is the name of the Chart.
Troubleshooting
There may be two reasons why the template upload fails:
-
The file format is invalid: There are problems with the files in the uploaded compressed package, such as missing content or incorrect format.
-
Unknown reasons.
Delete templates
Deleting a template also deletes all versions of that template.
Procedure
-
In the left navigation bar, click Catalog > Chart repository.
-
Click on Name of the template repository.
-
Click on the
> Delete button on the template card, and confirm.
Manage template versions
View and manage template versions.
Procedure
-
In the left navigation bar, click on Catalog > Chart repository.
-
Click on Name of the template repository.
-
Click on the
> Versions button on the template card. -
In the Versions window, view the list of versions. Click on the Delete button corresponding to the specified version to delete it. Deleting a version will make the corresponding template application unable to be updated.