Helm search: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(7 intermediate revisions by the same user not shown)
Line 7: Line 7:


* [[Helm Operations#Repository_Commands|Helm Operations]]
* [[Helm Operations#Repository_Commands|Helm Operations]]
* [[Helm Concepts#Repository_Operations|Helm Concepts]]
* [[Helm Repositories]]


=Overview=
=Overview=
Line 13: Line 13:
The search command inspects the locally cached indexes for locally-added chart repositories.
The search command inspects the locally cached indexes for locally-added chart repositories.


helm search <''search-term''>
<syntaxhighlight lang='bash'>
helm search <search-term>
</syntaxhighlight>


This searches globally through all locally-added repositories.
This searches globally through all locally-added repositories.


To search a specific repository:
To search a specific repository:
<syntaxhighlight lang='bash'>
helm search <repo-name> <search-term>
</syntaxhighlight>


helm search <''repo-name''> <''search-term''>
=Operations=
==List All Charts in the Repository==
<syntaxhighlight lang='bash'>
helm search repo <repository-name>
</syntaxhighlight>
<syntaxhighlight lang='bash'>
helm search repo prometheus-community
</syntaxhighlight>


=Operations=
Note that the repository must be a [[Helm_Repositories#Managed_.28Locally_Added.29_Repository|managed repository]], and only the [[Helm_Repositories#Repository_Name|repository name]] can be used as argument, the [[Helm_Repositories#Repository_URL|repository URL]] does not work.


==Find what Versions of a Specific Chart are Available in a Repository==
==Find what Versions of a Specific Chart are Available in a Repository==
{{Internal|Helm_repo#Find_what_Versions_of_a_Specific_Chart_are_Available_in_a_Repository|Find what Versions of a Specific Chart are Available in a Repository}}
{{Internal|Helm_repo#Find_what_Versions_of_a_Specific_Chart_are_Available_in_a_Repository|Find what Versions of a Specific Chart are Available in a Repository}}

Latest revision as of 05:27, 1 December 2020

External

Internal

Overview

The search command inspects the locally cached indexes for locally-added chart repositories.

helm search <search-term>

This searches globally through all locally-added repositories.

To search a specific repository:

helm search <repo-name> <search-term>

Operations

List All Charts in the Repository

helm search repo <repository-name>
helm search repo prometheus-community

Note that the repository must be a managed repository, and only the repository name can be used as argument, the repository URL does not work.

Find what Versions of a Specific Chart are Available in a Repository

Find what Versions of a Specific Chart are Available in a Repository