Helm 搜索仓库

helm search repo

用chart中关键字搜索仓库

简介

搜索会读取系统上配置的所有仓库,并查找匹配。搜索这些仓库会使用存储在系统中的元数据。

它会展示找到最新稳定版本的chart。如果指定了—devel参数,输出会包括预发布版本。

示例:

  1. # Search for stable release versions matching the keyword "nginx"
  2. $ helm search repo nginx
  3. # Search for release versions matching the keyword "nginx", including pre-release versions
  4. $ helm search repo nginx --devel
  5. # Search for the latest stable release for nginx-ingress with a major version of 1
  6. $ helm search repo nginx-ingress --version ^1.0.0

仓库使用’helm repo’命令管理。

  1. helm search repo [keyword] [flags]

可选项

  1. --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
  2. -h, --help help for repo
  3. --max-col-width uint maximum column width for output table (default 50)
  4. -o, --output format prints the output in the specified format. Allowed values: table, json, yaml (default table)
  5. -r, --regexp use regular expressions for searching repositories you have added
  6. --version string search using semantic versioning constraints on repositories you have added
  7. -l, --versions show the long listing, with each version of each chart on its own line, for repositories you have added

从父命令继承的命令

  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.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")

请参阅

Prev← Helm 搜索hub

NextHelm 模板 →