> For the complete documentation index, see [llms.txt](https://docs.digit.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digit.org/platform/guides/operations-guide/deployment-using-helm/helm-chart-creation.md).

# Helm chart creation

### What is Helm chart?

* It is basically a set of templates and a file containing variables used to fill these templates based on the custom values and configurations.
* we can create helm charts on our own. For that we have to use the command `helm create <chart name>`. It will create a create a directory with files and some other directories. Those files are required to create helm chart.

### Creating helm chart:

* We already discussed about how what is repository. Now we are going to create helm chart in **DIGIT-DevOps** repository which is one of the repository in **eGovernments Foundation**.
* For that we need to clone that repository into local machine. Use the below commands to clone the repository in terminal or command prompt.

```
git clone https://github.com/egovernments/DIGIT-DevOps.git
```

* After cloning, go to helm directory and create helm chart there. **cd** command helps to change the directory

```
cd DIGIT-DevOps/tree/master/deploy-as-code/helm/charts/
```

```
helm create gowtham-helmchart
```

* Finally helm creates a directory with the following layout

<figure><img src="/files/mgDkwte6Wf2Q86HTWQZR" alt=""><figcaption></figcaption></figure>

* **chart.yaml:** This is where you'll put the information related to your chart. That includes the chart version, name, and description so you can find it if you publish it on an open repository.
* **values.yaml:** Like we saw before, this is the file that contains defaults for variables.
* **Templates(dir)**: This is the place where we are storing manifest files. Everything here will be passed on and created in kubernetes.
* **charts**: If your chart depends on another chart you own, or if you don't want to rely on Helm's default library (the default registry where Helm pull charts from), you can bring this same structure inside this directory.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.digit.org/platform/guides/operations-guide/deployment-using-helm/helm-chart-creation.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
