Helm | Helm 包

helm package

将chart目录打包到chart归档中

简介

该命令将chart打包成一个chart版本包文件。如果给定路径,就会在该路径中查找chart(必须包含Chart.yaml文件)然后将目录打包。

chart版本包会用于Helm包仓库。

要签名一个chart,使用’–sign’参数,在大多数场景中,也要提供’–keyring path/to/secret/keys’和’–key keyname’。

$ helm package –sign ./mychart –key mykey –keyring ~/.gnupg/secring.gpg

如果’–keyring’未指定,除非配置了其他方式,不然Helm通常会指定公共秘钥环。

helm package [CHART_PATH] [...] [flags]

可选项

      --app-version string       set the appVersion on the chart to this version
  -u, --dependency-update        update dependencies from "Chart.yaml" to dir "charts/" before packaging
  -d, --destination string       location to write the chart. (default ".")
  -h, --help                     help for package
      --key string               name of the key to use when signing. Used if --sign is true
      --keyring string           location of a public keyring (default "~/.gnupg/pubring.gpg")
      --passphrase-file string   location of a file which contains the passphrase for the signing key. Use "-" in order to read from stdin.
      --sign                     use a PGP private key to sign this package
      --version string           set the version on the chart to this semver version

从父命令继承的命令

      --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 – 针对Kubernetes的Helm包管理器

若文章对你有帮助,可以点赞或打赏支持我们。发布者:Aurora,转载请注明出处:http://61.174.243.28:13541/AY-knowledg-hub/helm-helm-%e5%8c%85/

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

相关推荐

  • lprm

    文章目录lprm补充说明语法选项参数实例 lprm 删除打印队列中的打印任务 补充说明 lprm命令 用于删除打印队列中的打印任务。尚未完成的打印机任务会被放在打印机贮列之中,这个…

    入门教程 2023年 12月 19日
  • DataFrame(表数据)

    DataFrame 是一个表格型的数据结构,它含有一组有序的列,每列可以是不同的值类型(数值、字符串、布尔型值)。DataFrame 既有行索引也有列索引,它可以被看做由 Seri…

    2023年 5月 16日
  • Objective C 基础知识

    在iOS的开发中使用的是Objective C语言,它是一种面向对象的语言,因而对于已经掌握面向对象语言知识的编程者来说是非常简单的。 文章目录接口和实现创建对象方法(method…

    入门教程 2023年 4月 10日
  • HTML CSS

    文章目录如何使用CSS内联样式HTML样式实例 – 背景颜色实例HTML 样式实例 – 字体, 字体颜色 ,字体大小实例HTML 样式实例 – …

    2023年 4月 13日
  • Helm | Helm 仓库索引

    文章目录helm repo index简介可选项从父命令继承的命令请参阅 helm repo index 基于包含打包chart的目录,生成索引文件 简介 读取当前目录,并根据找到…

    入门教程 2023年 12月 14日
  • uucico

    文章目录uucico补充说明语法选项实例 uucico UUCP文件传输服务程序 补充说明 uucico命令 命令UUCP文件传输服务程序。 uucico是用来处理uucp或uux…

    入门教程 2024年 3月 11日
  • prtstat

    文章目录prtstat补充说明语法例子注意 prtstat 显示进程信息 补充说明 prtstat命令打印指定进程的统计信息。这个信息来自/proc/PID/stat文件。 语法 …

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

    文章目录spell补充说明语法参数 spell 对文件进行拼写检查 补充说明 spell命令 对文件进行拼写检查,并把拼写错误的单词输出。 语法 spell(参数) 参数 文件:指…

    入门教程 2024年 3月 5日
  • 使用内存管理工具

    文章目录简介面临的问题内存管理规则分析内存分配的步骤 简介 iOS下内存管理的基本思想就是引用计数,通过对象的引用计数来对内存对象的生命周期进行控制。具体到编程时间方面,主要有两种…

    2023年 4月 1日
  • history

    文章目录history概要主要用途选项参数返回值例子注意 history 显示或操作历史列表。 概要 history [-c] [-d offset] [n] history -a…

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