docs / articles / Retrieve Values Files from Helm Charts

Retrieve Values Files from Helm Charts

Noah Aug 16, 2026 2026-08-16 04:58:21

In the realm of Kubernetes, managing and distributing configuration data can be a daunting task. Helm, the package manager for Kubernetes, streamlines this process by allowing you to package, share, and install applications as charts. However, to utilize Helm effectively, you need to understand how to extract values from a Helm chart. Let's delve into this crucial aspect.

a flow diagram showing the steps to create an action plan for a company's organization
a flow diagram showing the steps to create an action plan for a company's organization

Helm charts provide a way to parameterize and customize the values used by your applications. By default, these values are found in the values.yaml file. In this guide, we'll explore how to get the values.yaml file from a Helm chart, understanding its structure, and using its content to customize your deployments.

the value wheel for children to learn how to use it in their own home or classroom
the value wheel for children to learn how to use it in their own home or classroom

Understanding Helm Chart Structure

Before diving into extracting the values.yaml file, it's essential to grasp the basic structure of a Helm chart. A typical Helm chart directory includes:

the diagram shows how people can use social media to promote their company's products
the diagram shows how people can use social media to promote their company's products
  • Chart.yaml: Metadata about the chart.
  • values.yaml: The default values for the chart's templates.
  • templates: A directory containing Kubernetes manifest files that make up your application.

Locating the values.yaml File

Value Domain and clusters of the Value Domain Mapping Model
Value Domain and clusters of the Value Domain Mapping Model

To locate the values.yaml file, navigate to the root directory of your Helm chart. You can download or clone the chart's repository to find the file. For instance, if you've added the Bitnami Helm repository, you can navigate to the '_1.0.0' directory to find the chart's files:

cd bitnami/charts/_1.0.0

Examining the values.yaml File

The values.yaml file consists of key-value pairs that configure the chart's behavior. For example, a simple values.yaml file might look like this:

a poster with the words value mind map
a poster with the words value mind map

replicaCount: 1 image: repository: nginx tag: stable service: type: ClusterIP port: 80

These values can be overridden when installing the chart, providing a flexible way to customize your deployments.

Extracting and Using values.yaml

Now that you've located and examined the values.yaml file, let's discuss how to extract and use its content for your applications.

a blue and white checklist with the words, value decision matrx on it
a blue and white checklist with the words, value decision matrx on it

Extracting values.yaml

To extract the values.yaml file from a Helm chart, you can simply copy or download the file. However, if you want to automate this process, you can use the Helm command line:

Values chart (5)
Values chart (5)
the core value circle with words and arrows in each section, including one that says core value
the core value circle with words and arrows in each section, including one that says core value
a poster with the words, value and value for an information sheet
a poster with the words, value and value for an information sheet
the printable calendar is shown in white and has lines that are lined up on each side
the printable calendar is shown in white and has lines that are lined up on each side
Values chart (16)
Values chart (16)
a large family tree with many names and numbers
a large family tree with many names and numbers
Value Stream Mapping (VSM) Explained | Identify Waste & Improve Process Flow
Value Stream Mapping (VSM) Explained | Identify Waste & Improve Process Flow
two tables with different types of words and numbers on each table, one has an individual value
two tables with different types of words and numbers on each table, one has an individual value
an info board with people on it
an info board with people on it

helm show values bitnami/nginx

This command displays the default values for the specified chart, which you can then save and use as needed.

Using values.yaml to Customize Deployments

When installing a Helm chart, you can provide your custom values.yaml file to override the default values. Here's how to do it:

helm install my-release ./path/to/chart -f my-values.yaml

In this command, my-values.yaml is your custom values file that overrides the defaults from the chart's values.yaml file.

In conclusion, understanding and leveraging the values.yaml file is crucial for customizing and streamlining your Kubernetes deployments with Helm. As you continue to explore Helm charts, remember that adjective flexibility is one of Kubernetes' most powerful features due to its ability to parameterize and customize deployments. Happy Helm-ing!