Helm 搜索hub

helm search hub

在Artifact Hub或自己的hub实例中搜索chart

简介

在Artifact Hub或自己的hub实例中搜索Helm charts。

Artifact Hub 是基于web页面的应用,支持CNCF项目的查找、安装和发布包及配置项,包括了公开发布的Helm chart。它是CNCF的沙盒项目。可以访问https://artifacthub.io/

[KEYWORD] 参数接受关键字字符串或者带引号的查询字符串。查询字符串的文档,请查看 https://artifacthub.github.io/hub/api/?urls.primaryName=Monocular%20compatible%20search%20API#/Monocular/get_api_chartsvc_v1_charts_search

之前的Helm版本使用Monocular实例作为默认的endpoint,因此为了向后兼容,Artifact Hub兼容Monocular的搜索API。类似地,要设置endpoint参数时,指定的endpoint也必须兼容Monocular的搜索API。 注意,指定Monocular实例作为endpoint时,不支持字符串查询。更多API细节,请参考 https://github.com/helm/monocular

  1. helm search hub [KEYWORD] [flags]

可选项

  1. --endpoint string Hub instance to query for charts (default "https://hub.helm.sh")
  2. -h, --help help for hub
  3. --list-repo-url print charts repository URL
  4. --max-col-width uint maximum column width for output table (default 50)
  5. -o, --output format prints the output in the specified format. Allowed values: table, json, yaml (default table)

从父命令继承的命令

  1. --debug enable verbose output
  2. --kube-apiserver string the address and the port for the Kubernetes API server
  3. --kube-as-group stringArray group to impersonate for the operation, this flag can be repeated to specify multiple groups.
  4. --kube-as-user string username to impersonate for the operation
  5. --kube-ca-file string the certificate authority file for the Kubernetes API server connection
  6. --kube-context string name of the kubeconfig context to use
  7. --kube-token string bearer token used for authentication
  8. --kubeconfig string path to the kubeconfig file
  9. -n, --namespace string namespace scope for this request
  10. --registry-config string path to the registry config file (default "~/.config/helm/registry/config.json")
  11. --repository-cache string path to the file containing cached repository indexes (default "~/.cache/helm/repository")
  12. --repository-config string path to the file containing repository names and URLs (default "~/.config/helm/repositories.yaml")

请参阅