Home / Platform management / Catalog / Chart repositories / Manage Charts in the Chart repository

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

  1. In the left navigation bar, click Catalog > Chart repository.

  2. Click Name of the template repository.

  3. 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.
  4. Click Upload Chart to upload the local Chart (application template) file to the repository.

  5. 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:

Delete templates

Deleting a template also deletes all versions of that template.

Procedure

  1. In the left navigation bar, click Catalog > Chart repository.

  2. Click on Name of the template repository.

  3. Click on the > Delete button on the template card, and confirm.

Manage template versions

View and manage template versions.

Procedure

  1. In the left navigation bar, click on Catalog > Chart repository.

  2. Click on Name of the template repository.

  3. Click on the > Versions button on the template card.

  4. 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.