helm show prints a chart's information without installing it. That covers the Chart.yaml metadata, the default values.yaml, the README and any CRDs. This page explains each subcommand from the example above, adds the missing helm show crds, and shows how to use these commands on repository, local and OCI charts, with version pinning, filtering and troubleshooting.
The helm show command is used to display information about a chart, including its values, templates, and metadata. Here are the different subcommands available with helm show
helm show chart: Displays the information and metadata of a chart.
$ helm show chart mychart
helm show readme: Shows the README file of a chart.
helm show readme mychart
helm show values: Displays the default values.yaml file of a chart.
$ helm show values mychart
helm show all: Shows all the information available for a chart, including its metadata, README, and values.
$ helm show all mychartCode language: JavaScript (javascript)
What helm show does and when to use it
helm show reads a chart and prints parts of it to standard output. It never contacts your Kubernetes cluster and never creates a release. That makes it the safe first step before you install or upgrade a chart. Use it to see which version you are about to deploy, which settings you can override and whether the chart installs CustomResourceDefinitions.
helm inspect is an alias for helm show in Helm 3, so older guides that use helm inspect values refer to the same command.
| Subcommand | What it prints | Typical use |
|---|---|---|
helm show chart | Contents of Chart.yaml: name, version, appVersion, description, dependencies, maintainers | Check the chart version and app version before installing |
helm show values | The chart's default values.yaml, comments included | Find out which keys you can override |
helm show readme | The chart's README.md | Read usage notes and the parameter docs |
helm show crds | CRD manifests from the chart's crds/ directory | See which cluster-wide resources the install will add |
helm show all | Chart metadata, values, README and CRDs together | Get a full overview or attach it to a change review |
Correcting the example above
The example above lists four subcommands, but it is incomplete in a few ways that can mislead readers:
- Templates are not shown. The opening sentence says
helm showdisplays templates. It does not. To see the rendered manifests, usehelm template. To read the raw template files, download the chart withhelm pull --untar. helm show crdsis missing. Current Helm 3 releases include a fifth subcommand,helm show crds, andhelm show allincludes CRDs in its output as well.mychartmust be a real chart reference. A bare name only works if./mychartexists as a local chart directory. For repository charts, userepo_name/chart_name.- The
readmeexample has no$prompt. The other lines use one. This is cosmetic, but it is inconsistent.
$ helm show chart prometheus-community/kube-prometheus-stack
$ helm show values prometheus-community/kube-prometheus-stack
$ helm show readme prometheus-community/kube-prometheus-stack
$ helm show crds prometheus-community/kube-prometheus-stack
$ helm show all prometheus-community/kube-prometheus-stack
# View templates instead (not possible with helm show)
$ helm template myrelease prometheus-community/kube-prometheus-stack | less
$ helm pull prometheus-community/kube-prometheus-stack --untar && ls kube-prometheus-stack/templatesCode language: PHP (php)
Prerequisites and a working example
You need the Helm 3 CLI. You do not need cluster access. To follow along with a public chart, add a repository and refresh its index:
helm version --short
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo update
# List the available chart versions
helm search repo prometheus-community/kube-prometheus-stack --versions | head
# Show the metadata of the latest stable version
helm show chart prometheus-community/kube-prometheus-stackCode language: PHP (php)
helm show chart prints YAML taken from Chart.yaml. The exact values depend on the version, but the structure looks like this:
apiVersion: v2
appVersion: <application version>
dependencies:
- condition: grafana.enabled
name: grafana
repository: https://grafana.github.io/helm-charts
version: <range>
description: kube-prometheus-stack collects Kubernetes manifests, Grafana dashboards, ...
name: kube-prometheus-stack
type: application
version: <chart version>Code language: HTML, XML (xml)
Note: version is the chart's own version, and you pin it with --version. appVersion is the version of the packaged application. These two often differ, and both are worth recording in change tickets.
Chart sources: repository, local, archive, URL and OCI
Every helm show subcommand accepts the same kinds of chart reference:
# Chart from an added repository
helm show values prometheus-community/kube-prometheus-stack
# Local chart directory (must contain Chart.yaml)
helm show values ./mychart
# Packaged chart archive
helm show values ./mychart-1.2.3.tgz
# Repository URL without running helm repo add
helm show values kube-prometheus-stack --repo https://prometheus-community.github.io/helm-charts
# Chart stored in an OCI registry
helm registry login registry.example.com
helm show values oci://registry.example.com/charts/mychart --version 1.2.3Code language: PHP (php)
Useful flags
| Flag | Purpose |
|---|---|
--version <ver> | Show a specific chart version or constraint instead of the latest stable version |
--devel | Include pre-release versions (for example 2.0.0-rc.1) when no version is given |
--repo <url> | Fetch the chart directly from a repository URL |
--jsonpath <expr> | On helm show values, print only part of the values using a JSONPath expression |
--username, --password, --ca-file, --cert-file, --key-file | Authenticate to private repositories |
--verify, --keyring | Verify the chart's provenance signature before showing it |
# Defaults for one key only
helm show values prometheus-community/kube-prometheus-stack --jsonpath '{.grafana.enabled}'
# Pin a version so the output matches what you will deploy
helm show chart prometheus-community/kube-prometheus-stack --version <chart-version>Code language: PHP (php)
Practical workflows
Build an override file from the defaults. Save the defaults, copy only the keys you change into a small override file, then install with it. A short override file is much easier to review than a full copy of values.yaml.
helm show values prometheus-community/kube-prometheus-stack --version <chart-version> > defaults.yaml
# Copy the keys you need from defaults.yaml into my-values.yaml, then:
helm install monitoring prometheus-community/kube-prometheus-stack \
--version <chart-version> -n monitoring --create-namespace -f my-values.yamlCode language: HTML, XML (xml)
Compare defaults between versions before an upgrade. Renamed or removed keys are a common cause of broken upgrades. A diff shows them right away. The <( ) syntax is bash process substitution.
diff <(helm show values prometheus-community/kube-prometheus-stack --version <old>) \
<(helm show values prometheus-community/kube-prometheus-stack --version <new>)Code language: JavaScript (javascript)
Review CRDs before installing. Helm installs CRDs from crds/ only on the first install. It does not upgrade or delete them later. Check what is included with helm show crds, and plan CRD upgrades separately. Some charts install CRDs from templates/ instead, behind a values flag. Those do not appear in helm show crds, so check the README as well.
helm show values vs helm get values
These two are often confused. helm show values reads the chart and prints its defaults. helm get values reads a release in the cluster and prints the values that were supplied when it was installed or upgraded.
helm show values prometheus-community/kube-prometheus-stack # chart defaults, no cluster needed
helm get values monitoring -n monitoring # user-supplied values of a release
helm get values monitoring -n monitoring --all # all computed values, defaults mergedCode language: PHP (php)
Common errors and fixes
| Error | Cause | Fix |
|---|---|---|
non-absolute URLs should be in form of repo_name/path_to_chart, got: mychart | mychart is not a local directory and has no repo prefix | Use repo/chart, ./mychart or --repo <url> |
repo ... not found | The repository has not been added on this machine | Run helm repo add <name> <url> |
chart "x" version "y" not found | Outdated local index, a typo in the version, or a pre-release version | Run helm repo update, check with helm search repo x --versions, and add --devel for pre-releases |
401 Unauthorized / 403 on an OCI chart | Not logged in to the registry | Run helm registry login <host> |
helm show crds prints nothing | The chart has no crds/ directory | Normal behaviour. Check the README to see whether CRDs come from templates |
Frequently asked questions
Does helm show need access to a Kubernetes cluster?
No. helm show only reads the chart from a local path, a repository or an OCI registry. It never contacts the cluster.
What is the difference between helm show and helm inspect?
There is no difference. In Helm 3, helm inspect is an alias for helm show, so helm inspect values and helm show values give the same output.
How do I see the templates of a chart?
helm show does not print templates. Use helm template <release> <chart> to render the manifests, or helm pull <chart> --untar to read the raw template files.
How do I show values for a specific chart version?
Add --version, for example helm show values repo/chart --version 1.2.3. Without it, Helm uses the latest stable version in your local repository index.
Why does helm show values differ from helm get values?
helm show values prints the chart's defaults. helm get values prints the values supplied to a deployed release. Add --all to helm get values to see the values with the defaults merged in.
Related tutorials
- Helm Tutorials: What is Helm & How it works?
- Helm Tutorials: Complete tutorials of Helm Hooks
- Top 50 Helm interview questions and answers
- More Helm tutorials
I’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms.
I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.
Find Trusted Cardiac Hospitals
Compare heart hospitals by city and services โ all in one place.
Explore Hospitals