When you install a Helm chart into a Kubernetes cluster you can pass custom values to configure the release.
Comparing versions of Helm values and reviewing old releases is a good practice for keeping track of changes.
Below you will find how to get values of a Helm chart release using a helm get values
command.
Cool Tip: How to render a Helm chart template locally! Read more →
Get Values for Helm Chart Release
Use one of the commands below to list installed Helm charts:
$ helm list
$ helm list --all-namespaces
$ helm list --namespace <namespaceName>
- sample output -
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
grafana default 2 2023-01-12... deployed grafana-6.12.1 8.0.1
Note the Helm chart <releaseName> and <revisionNumber> from the output above.
Use one of the commands below to get the custom values used for the Helm chart release:
$ helm get values <releaseName> $ helm get values <releaseName> --namespace <namespaceName>
To get all values for a Helm chart release:
$ helm get values <releaseName> -a
- or -
$ helm get values <releaseName> -all
To get the values from a specified revision of a Helm chart release, use:
$ helm get values <releaseName> --revision <revisionNumber>
Use the -o
or --output
option to change the Helm chart values output format:
$ helm get values <releaseName> -o <formatName> - or - $ helm get values <releaseName> -output <formatName> - example - $ helm get values <releaseName> -output json
Supported formats: table
(default), json
, yaml
.
Comparing versions of Helm values and reviewing old releases is good practice for keeping track of changes.