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

相关推荐

  • dig

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

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

    文章目录hostname补充说明语法选项实例 hostname 显示和设置系统的主机名 补充说明 hostname命令用于显示和设置系统的主机名称。 环境变量 HOSTNAME 也…

    入门教程 2023年 12月 15日
  • Java 多态

    多态是同一个行为具有多个不同表现形式或形态的能力。 多态就是同一个接口,使用不同的实例而执行不同操作,如图所示: 多态性是对象多种表现形式的体现。 现实中,比如我们按下 F1 键这…

    2023年 3月 9日
  • lilo

    文章目录lilo补充说明语法选项实例 lilo 安装核心载入开机管理程序 补充说明 lilo命令 用于安装核心载入,开机管理程序。lilo是个Linux系统核心载入程序,同时具备管…

    入门教程 2023年 12月 19日
  • tee

    文章目录tee概要主要用途参数选项返回值例子注意 tee 从标准输入读取数据并重定向到标准输出和文件。 概要 tee [OPTION]… [FILE]… 主要用途 需要同时…

    入门教程 2024年 3月 11日
  • dpkg-deb

    文章目录dpkg-deb补充说明语法选项参数实例 dpkg-deb Debian Linux下的软件包管理工具 补充说明 dpkg-deb命令 是Debian Linux下的软件包…

    入门教程 2023年 12月 7日
  • IOS发送电子邮件

    文章目录简介实例步骤输出 简介 我们可以使用IOS设备中的电子邮件应用程序发送电子邮件。 实例步骤 1、创建一个简单的View based application 2、选择项目文件…

    2023年 4月 1日
  • zipinfo

    文章目录zipinfo补充说明语法选项参数 zipinfo 用来列出压缩文件信息 补充说明 zipinfo命令 用来列出压缩文件信息。执行zipinfo指令可得知zip压缩文件的详…

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

    Java 是由 Sun Microsystems 公司于 1995 年 5 月推出的高级程序设计语言。 Java 可运行于多个平台,如 Windows, Mac OS 及其他多种 …

    2023年 3月 4日
  • id

    文章目录id概要主要用途选项参数返回值例子注意 id 打印真实以及有效的用户和所在组的信息 概要 id [OPTION]… [USER]… 主要用途 没有选项时,打印指定用…

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