Managing Helm repositories
Internal Helm repositories are used to store Helm packages or charts.
- Adding a Helm repository
- Synching Helm repositories
- Backing up Helm repositories
- Deleting a Helm repository
Adding a Helm repository
Add a repository.
Required user type or access level: Cluster administrator
- From the navigation menu, click Manage > Helm Repositories. Default repositories are available.
- Click Add Repository.
-
Enter the repository details.
- Name: Enter a unique repository name.
- URL: Enter the GitHub repository URL for your index.yaml file. You can connect to both
http
andhttps
repositories. To connect to the Helm Kubernetes chart repository, enterhttps://kubernetes-charts.storage.googleapis.com/
. - Source URL: GitHub URL for your charts. This field is not required.
-
Click Add. You can find your charts in the Catalog.
Synching Helm repositories
Sync your internal Helm repository with an identical Helm repository that is hosted externally.
Note: You must manually synchronize your Helm repositories to ensure that the list of charts is current.
Required user type or access level: Cluster administrator
- From the navigation menu, click Manage > Helm Repositories. Default repositories are available.
- Click Sync repositories. If new charts are downloaded from the external repositories, you can find the new charts in the Catalog.
Backing up Helm repositories
Back up a Helm repository
- On the boot node, go to the
/var/lib/icp/helmrepo
directory. - Make a copy of the charts that are in that directory. The chart files are compressed files and end in
.tgz
ortar.gz
.
Restore the contents of a Helm repository
- Make sure that
helm-repo
is running and that this directory exists:/var/lib/icp/helmrepo
. - Move the charts that you backed up to the
/var/lib/icp/helmrepo
directory. - Remove the
helm-repo
deployment pod, and then theindex.yaml
repopulates with the charts that are located in the PersistentVolumeClaim (PVC).
Deleting a Helm repository
Remove a repository connection.
The names of the default repositories ibm-charts
and local-charts
are reserved. If you delete these default repositories, you cannot add them back by using these reserved names. To restore the default repositories, you
must use the same URL but provide a different name from the reserved ones.
Required user type or access level: Cluster administrator
- From the navigation menu, click Manage > Helm Repositories.
- In the same row as the repository to remove, select Action > Delete.
- Click Delete.