Helm Search Repo
helm search repo
搜尋儲存庫中圖表的關鍵字
概要
搜尋會讀取系統上設定的所有儲存庫,並尋找相符的項目。這些儲存庫的搜尋使用儲存在系統上的中繼資料。
它將顯示找到的圖表的最新穩定版本。如果您指定 --devel 旗標,則輸出將包含預先發佈的版本。如果您想使用版本限制進行搜尋,請使用 --version。
範例
# Search for stable release versions matching the keyword "nginx"
$ helm search repo nginx
# Search for release versions matching the keyword "nginx", including pre-release versions
$ helm search repo nginx --devel
# Search for the latest stable release for nginx-ingress with a major version of 1
$ helm search repo nginx-ingress --version ^1.0.0
儲存庫使用 'helm repo' 命令進行管理。
helm search repo [keyword] [flags]
選項
--devel use development versions (alpha, beta, and release candidate releases), too. Equivalent to version '>0.0.0-0'. If --version is set, this is ignored
--fail-on-no-result search fails if no results are found
-h, --help help for repo
--max-col-width uint maximum column width for output table (default 50)
-o, --output format prints the output in the specified format. Allowed values: table, json, yaml (default table)
-r, --regexp use regular expressions for searching repositories you have added
--version string search using semantic versioning constraints on repositories you have added
-l, --versions show the long listing, with each version of each chart on its own line, for repositories you have added
從父命令繼承的選項
--burst-limit int client-side default throttling limit (default 100)
--debug enable verbose output
--kube-apiserver string the address and the port for the Kubernetes API server
--kube-as-group stringArray group to impersonate for the operation, this flag can be repeated to specify multiple groups.
--kube-as-user string username to impersonate for the operation
--kube-ca-file string the certificate authority file for the Kubernetes API server connection
--kube-context string name of the kubeconfig context to use
--kube-insecure-skip-tls-verify if true, the Kubernetes API server's certificate will not be checked for validity. This will make your HTTPS connections insecure
--kube-tls-server-name string server name to use for Kubernetes API server certificate validation. If it is not provided, the hostname used to contact the server is used
--kube-token string bearer token used for authentication
--kubeconfig string path to the kubeconfig file
-n, --namespace string namespace scope for this request
--qps float32 queries per second used when communicating with the Kubernetes API, not including bursting
--registry-config string path to the registry config file (default "~/.config/helm/registry/config.json")
--repository-cache string path to the file containing cached repository indexes (default "~/.cache/helm/repository")
--repository-config string path to the file containing repository names and URLs (default "~/.config/helm/repositories.yaml")
另請參閱
- helm search - 搜尋圖表中的關鍵字