1. helm search hub

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

Artifact Hub 是基于 web 页面的应用,支持 CNCF 项目的查找、安装和发布包及配置项,包括了公开发布的Helm chart。

它是CNCF的沙盒项目。可以访问

[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

helm search hub [KEYWORD] [flags]

1.1. 可选项

      --endpoint string      Hub instance to query for charts (default "https://hub.helm.sh")
  -h, --help                 help for hub
      --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)

1.2. 从父命令继承的命令

      --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-token string           bearer token used for authentication
      --kubeconfig string           path to the kubeconfig file
  -n, --namespace string            namespace scope for this request
      --registry-config string      path to the registry config file (default "~/.config/helm/registry.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")

1.3. 请参阅

  • helm search - helm中搜索关键字
Copyright © 温玉 2021 | 浙ICP备2020032454号 all right reserved,powered by Gitbook该文件修订时间: 2022-01-08 03:09:47

results matching ""

    No results matching ""