舵手仓库索引
helm repo index
在包含打包图表的目录中生成索引文件
概要
读取当前目录并根据找到的图表生成索引文件。
此工具用于为图表仓库创建 'index.yaml' 文件。要设置图表到绝对 URL,请使用 '--url' 标志。
要将生成的索引与现有索引文件合并,请使用 '--merge' 标志。在这种情况下,当前目录中找到的图表将与现有索引合并,本地图表优先于现有图表。
helm repo index [DIR] [flags]
选项
-h, --help help for index
--json output in JSON format
--merge string merge the generated index into the given index
--url string url of chart repository
从父命令继承的选项
--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 repo - 添加、列出、删除、更新和索引图表仓库