docs / articles / Helm Get Values Example: Access Kubernetes Secrets

Helm Get Values Example: Access Kubernetes Secrets

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

In the realm of Kubernetes, understanding and manipulating values for ConfigMaps or Secrets is a fundamental task. The `helm get values` command is a powerful tool for achieving this. Let's delve into how you can use it to retrieve values from a Helm chart, along with example use cases.

the core values chart for students to use
the core values chart for students to use

To get started, ensure you have Helm installed and initialized with a Kubernetes cluster. Also, make sure you have the desired chart installed in your namespace.

Knowing your values ✨
Knowing your values ✨

Basic Usage and Examples

The basic syntax for `helm get values` is as follows:

Kristine Tuttle | Knowing your lab values in nursing school and as a nurse is a crucial part of the job! You also need to be able to interpret the values.... | Instagram Nurse Info, Emergency Nursing Education, How To Memorize Nursing Terms, Understanding Nursing Care Levels, Er Nursing, Ems Notes, Nursing Study Aid For Lab Values, Educational Nursing Infographic, Labs Nursing
Kristine Tuttle | Knowing your lab values in nursing school and as a nurse is a crucial part of the job! You also need to be able to interpret the values.... | Instagram Nurse Info, Emergency Nursing Education, How To Memorize Nursing Terms, Understanding Nursing Care Levels, Er Nursing, Ems Notes, Nursing Study Aid For Lab Values, Educational Nursing Infographic, Labs Nursing

helm get values --namespace

Replace with the name of your installed chart and with the namespace it's installed in.

a poster with two different types of culture and what they mean them to be human
a poster with two different types of culture and what they mean them to be human

Displaying Values

The command above will display the current values used by the chart. Here's an example using the stable/redis chart:

helm get values redis --namespace my-namespace

a poster with the words value - based behavior and other things to know about it
a poster with the words value - based behavior and other things to know about it

You'll see output similar to this:

Using Specific Keys

You can also fetch values using specific keys. Here's how:

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

helm get values --namespace

For instance, to get only the 'Battery' value from the redis chart:

Success Guide
Success Guide
a poster with the words how to clarify your values
a poster with the words how to clarify your values
Values Guide for Students | SEL Character Education Activities
Values Guide for Students | SEL Character Education Activities
Discover Your True Core Values and What Really Matters to You
Discover Your True Core Values and What Really Matters to You
List of 200 examples of brand values to get you started | Lisa Furze
List of 200 examples of brand values to get you started | Lisa Furze
What Are My Values, Healing Therapy, Inner Child, Be A Better Person, Writing Prompts, How To Know, Self Care, Healing, How To Become
What Are My Values, Healing Therapy, Inner Child, Be A Better Person, Writing Prompts, How To Know, Self Care, Healing, How To Become
How do you bring value to the team?
How do you bring value to the team?
the first core value value poster
the first core value value poster

helm get values redis Battery --namespace my-namespace

The output will be:

Comparing Values with Defaults

Sometimes, you might want to see how the used values differ from the default ones. The `helm get values` command can do this too.

Values and Defaults Side by Side

Use `helm get values --show-downloads` to display both the used and default values side by side like this:

helm get values redis --show-downloads --namespace my-namespace

The output will show both the current values and the ones the chart uses by default.

Values and Defaults in a Detailed Format

For a more detailed view, use the following command:

helm get values redis --all --output yaml --namespace my-namespace

This command will output the values in a detailed, YAML format, showing both the current and default values.

Understanding how to Retrieving values with `helm get values` is crucial for your day-to-day work with Helm. From displaying current values to comparing them with defaults, these examples illustrate the versatility of the command. Start incorporating them into your DevOps workflow today!