diff --git a/cmd/helm/search.go b/cmd/helm/search.go index b55997ec8..73fef9401 100644 --- a/cmd/helm/search.go +++ b/cmd/helm/search.go @@ -35,6 +35,21 @@ Search reads through all of the repositories configured on the system, and looks for matches. Repositories are managed with 'helm repo' commands. + +To look for charts with a particular name (such as stable/mysql), try +searching using vertical tabs (\v). Vertical tabs are used as the delimiter +between search fields. For example: + + helm search --regexp '\vstable/mysql\v' + +To search for charts using common keywords (such as "database" or +"key-value store"), use + + helm search database + +or + + helm search key-value store ` // searchMaxScore suggests that any score higher than this is not considered a match. diff --git a/docs/helm/helm_search.md b/docs/helm/helm_search.md index 558cadfee..e90c9faa8 100644 --- a/docs/helm/helm_search.md +++ b/docs/helm/helm_search.md @@ -10,6 +10,21 @@ looks for matches. Repositories are managed with 'helm repo' commands. +To look for charts with a particular name (such as stable/mysql), try +searching using vertical tabs (\v). Vertical tabs are used as the delimiter +between search fields. For example: + + helm search --regexp '\vstable/mysql\v' + +To search for charts using common keywords (such as "database" or +"key-value store"), use + + helm search database + +or + + helm search key-value store + ``` helm search [keyword] [flags]