How to deploy a Helm chart repository on GitHub

Reading Time: 3 minutes

Hello readers, I’ll be covering about the details of How to deploy a Helm chart repository on GitHub in detail.


1.GitHub Account

2.Helm Chart dummies

Chart Repository Structure

An HTTP server that stores an index.yaml file and perhaps some packed charts is known as a chart repository.
When you’re prepared to distribute your charts, the best option is to submit them to a repository for charts.

The index file is the most important part of any repository for charts.The index file, which is a YAML file with the name index.yaml, provides metadata on each package, including details about the associated Chart.yaml files.Each item in the index file also directs the user to the.tgz file that contains the chart package.

In this case, the index file would contain information about one chart, the mychart.

step 1:

Create a new repository on your Github account.

step 2:

Clone the repository using commang

git clone

step 3:

Create a helm chart by using command.

helm create mychart

step 4:

Package the helm repo as .tgz (using helm package).”helm package charts/mychart -d docs/“.Substitute charts/mychart with a path to a chart root folder

step 5:

YAML file index.yaml serves as the index file.The contents of a chart’s Chart.yaml file are among the package’s metadata that are included in this file.An index file is a requirement for a legitimate chart repository.Each chart in the chart repository is described in the index file.When provided a local directory that contains packaged charts, the helm repo index command will create an index file based on that directory.

A sample index file looks like this:

step 6:

Push the git repository on GitHub

git add . 
git commit -m “Initial commit”
git push origin master

Refresh the home page on the GitHub helm-repo by returning there. Now that the new commit has been successfully uploaded onto GitHub, we can verify this by looking at this page.

step 7:

Everyone interested in your charts must set up their own Helm client in order to share your brand-new repository.
Repositories are controlled with the $ helm repo commands on the client side as well

Now you can add the repo:



helm repo add mychart

Verify the helm chart repo using the command

helm repo list

step 8:

To update my local helm repo cache, I’ll now issue the command helm repo update.
Now that I’ve performed the command helm search repo mychart, I may search the local helm repository.
There is only one result displayed here, and it is the custom chart we previously created, are now hosting in our GitHub repository.


In Conclusion:

The blog explained how to deploy a Helm chart repository on GitHub.I hope you enjoyed this practical instruction. Motivate yourself to deploy more repositories, link them, and utilize them while looking up more examples on Google.

Leave a Reply