Helm | Helm 仓库索引

helm repo index

基于包含打包chart的目录,生成索引文件

简介

读取当前目录,并根据找到的 chart 生成索引文件。

这个工具用来为chart仓库创建一个’index.yaml’文件,使用’–url’参数创建一个chart的绝对URL。

要合并生成的索引和已经存在的索引文件时,使用’–merge’参数。在这个场景中,在当前目录中找到的chart会合并到已有索引中,
本地chart的优先级高于已有chart。

helm repo index [DIR] [flags]

可选项

  -h, --help           help for index
      --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
      --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 – 添加、列出、删除、更新和索引chart仓库

若文章对你有帮助,可以点赞或打赏支持我们。发布者:Aurora,转载请注明出处:http://61.174.243.28:13541/AY-knowledg-hub/helm-helm-%e4%bb%93%e5%ba%93%e7%b4%a2%e5%bc%95/

(0)
AuroraAurora站点维系者
上一篇 2023年 12月 14日 下午4:32
下一篇 2023年 12月 14日 下午6:09

相关推荐

  • dig

    文章目录dig补充说明语法选项参数实例 dig 域名查询工具 补充说明 dig命令 是常用的域名查询工具,可以用来测试域名系统工作是否正常。 语法 dig(选项)(参数) 选项 @…

    入门教程 2023年 12月 7日
  • 30. 错误处理

    欢迎来到 Golang 系列教程的第 30 篇。 文章目录什么是错误?示例错误类型的表示从错误获取更多信息的不同方法1. 断言底层结构体类型,使用结构体字段获取更多信息2. 断言底…

    入门教程 2023年 12月 5日
  • mpstat

    文章目录mpstat补充说明语法选项参数表头含义实例 mpstat 显示各个可用CPU的状态 补充说明 mpstat命令 主要用于多CPU环境下,它显示各个可用CPU的状态信息。这…

    入门教程 2024年 1月 3日
  • pidof

    文章目录pidof补充说明语法选项参数实例 pidof 查找指定名称的进程的进程号ID号 补充说明 pidof命令 用于查找指定名称的进程的进程号id号。 语法 pidof(选项)…

    入门教程 2024年 3月 1日
  • restore

    文章目录restore补充说明语法选项实例 restore 所进行的操作和dump指令相反 补充说明 restore命令 是dump命令的逆过程,用于还原dump命令生成的备份文件…

    入门教程 2024年 3月 4日
  • comm

    文章目录comm概要主要用途选项返回值例子比较排序过的文档交集差集注意 comm 按行比较两个已排序的文件。 概要 comm [OPTION]… FILE1 FILE2 主要用…

    入门教程 2023年 12月 7日
  • dpkg-trigger

    文章目录dpkg-trigger补充说明语法选项参数 dpkg-trigger Debian Linux下的软件包触发器 补充说明 dpkg-trigger命令 是Debian L…

    入门教程 2023年 12月 7日
  • dd

    文章目录dd补充说明语法选项实例 dd 复制文件并对原文件的内容进行转换和格式化处理 补充说明 dd命令 用于复制文件并对原文件的内容进行转换和格式化处理。dd命令功能很强大的,对…

    入门教程 2023年 12月 7日
  • Java 日期时间

    java.util 包提供了 Date 类来封装当前的日期和时间。 Date 类提供两个构造函数来实例化 Date 对象。 第一个构造函数使用当前日期和时间来初始化对象。 Date…

    入门教程 2023年 3月 4日
  • gzip

    文章目录gzip补充说明语法选项参数实例 gzip 用来压缩文件 补充说明 gzip命令 用来压缩文件。gzip是个使用广泛的压缩程序,文件经它压缩过后,其名称后面会多处“.gz”…

    入门教程 2023年 12月 14日
Translate »