Skip to main content

Searching Helm Charts

1. Searching Repositories

Command Description Flags
helm search repo Search for charts in the configured repositories --devel to include development charts
--regexp to filter by regex pattern
--version to specify version constraint

Example: Search for charts containing "nginx"

helm search repo nginx

Example: Search with version constraint

helm search repo --version "^1.0.0" nginx
Note: By default, helm search repo only shows charts from repositories that have been added using helm repo add.

2. Searching Artifact Hub

Field Description Example
name Chart name to search for nginx
repo Repository name to filter by bitnami
version Specific version to search for 10.2.1
maintainer Chart maintainer name Bitnami Team
keywords Keywords to search in chart metadata web server

Example: Search for charts with specific keywords

helm search hub nginx

Example: Search for charts from a specific repository

helm search hub --repo bitnami nginx
Note: Artifact Hub is the default search source for Helm charts. It aggregates charts from multiple repositories.

3. Using Search Keywords

Keyword Type Description Examples
name Filter charts by name pattern nginx, mysql*
version Filter charts by version 1.2.3, >=2.0.0
repo Filter charts by repository name bitnami, stable
maintainer Filter charts by maintainer name bitnami, helm
appVersion Filter charts by app version 1.20.0, <2.0.0
tag Filter charts by tag database, web

Example: Search for charts with specific name and version

helm search repo nginx --version "1.2.*"

Example: Search charts by maintainer and tag

helm search repo --maintainer bitnami --tag database

4. Filtering by Version

Filter Type Description Example
--version Specify the exact version of the chart to filter by helm search repo my-chart --version 1.2.3
--version-range Filter charts within a version range using semantic versioning helm search repo my-chart --version-range '1.0.0-2.0.0'
--devel Include development versions (alpha, beta, rc) in search results helm search repo my-chart --devel

Example: Search for specific version

helm search repo nginx --version 1.23.0

Example: Search with version range

helm search repo mysql --version-range '8.0.0-9.0.0'

5. Using Regular Expressions

Example: Filtering Charts with Regex

helm search repo 'nginx.*'
Pattern Description Usage
^nginx Matches charts starting with "nginx" helm search repo '^nginx.*'
.*-stable$ Matches charts ending with "-stable" helm search repo '.*-stable$'
.*-beta.* Matches charts containing "-beta" helm search repo '.*-beta.*'
Note: Helm uses Go's regex engine, which supports basic POSIX-style patterns.
Warning: Complex regex can slow down search performance on large repositories.

6. Limiting Search Results

Option Values Notes
--limit int Limits the number of results returned
--offset int Skips the first N results before returning results
--filter string Filters results by a specific string in the chart name or description

Example: Limiting search results to 5 charts

helm search repo --limit 5

Example: Skipping first 10 results and showing next 5

helm search repo --offset 10 --limit 5

Example: Filtering charts by name containing "nginx"

helm search repo --filter nginx

7. Viewing All Versions

Command Description Notes
helm search repo Search for charts in the repository Use with --versions to list all versions
helm search repo <chart-name> Search for a specific chart Lists all versions of the specified chart

Example: Listing all versions of a chart

helm search repo my-chart --versions
Note: The --versions flag is required to see all available versions of a chart.

8. Searching with Output Format

Option Values Description
--output table, json, yaml Format of the output
--filter string Filter results by name or version
--version string Specify a version to search for

Example: Search with JSON Output

helm search repo --output json

Example: Search with Filter

helm search repo --filter "nginx" --output yaml

9. Finding Latest Version

Property Description Example
helm search repo Searches for charts in the repository helm search repo <span class="highlight">stable/nginx-ingress</span>
--version Specify a version constraint helm search repo <span class="highlight">stable/nginx-ingress</span> --version <span class="highlight">1.2.3</span>
--devel Include development versions (alpha, beta, rc) helm search repo <span class="highlight">stable/nginx-ingress</span> --devel

Example: Find Latest Stable Version

helm search repo stable/nginx-ingress

Example: Find Specific Version

helm search repo stable/nginx-ingress --version 1.2.3

10. Searching Specific Repository

Property Description Example
helm search repo Searches for charts in the specified repository helm search repo my-repo
helm search repo <repo-name>/<chart-name> Searches for a specific chart in a repository helm search repo bitnami/nginx

Example: Search for a specific chart in a repository

helm search repo bitnami/nginx

Example: Search for all charts in a repository

helm search repo my-repo

Was this article helpful?