Warning: Undefined array key "custom_message" in /www/wwwroot/bbs.aaronyang.cc/wp-content/plugins/wpcopyrights/index.php on line 105

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

相关推荐

  • Helm | Helm 展示

    文章目录helm show简介可选项从父命令继承的命令请参阅 helm show 显示chart信息 简介 该命令由多条子命令组成来显示chart的信息 可选项 从父命令继承的命令…

    入门教程 2023年 12月 14日
  • SQL 简介

    SQL (Structured Query Language:结构化查询语言) 是用于管理关系数据库管理系统(RDBMS)。 SQL 的范围包括数据插入、查询、更新和删除,数据库模…

    2023年 5月 28日
  • xhost

    文章目录xhost补充说明语法参数 xhost 制哪些X客户端能够在X服务器上显示 补充说明 xhost命令 是X服务器的访问控制工具,用来控制哪些X客户端能够在X服务器上显示。该…

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

    文章目录printf目录内建命令概要主要用途选项参数返回值例子注意外部命令概要主要用途选项参数例子返回值注意 printf 格式化并输出结果。 目录 bash内建命令 GNU co…

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

    文章目录groupmod补充说明语法选项参数 groupmod 更改群组识别码或名称 补充说明 groupmod命令 更改群组识别码或名称。需要更改群组的识别码或名称时,可用gro…

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

    文章目录logwatch补充说明语法选项实例 logwatch 可定制和可插入式的日志监视系统 补充说明 logwatch命令 是一个可定制和可插入式的日志监视系统,它通过遍历给定…

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

    文章目录vdfuse补充说明什么是VirtualBox语法选项实例 vdfuse VirtualBox软件挂载VDI分区文件工具 补充说明 vdfuse命令 是VirtualBox…

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

    文章目录domainname补充说明语法选项参数实例 domainname 显示和设置系统的NIS域名 补充说明 domainname命令 用于显示和设置系统的NIS域名。 语法 …

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

    文章目录pstree补充说明语法选项实例 pstree 以树状图的方式展现进程之间的派生关系 补充说明 pstree命令 以树状图的方式展现进程之间的派生关系,显示效果比较直观。 …

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

    文章目录depmod补充说明语法选项实例 depmod 分析可载入模块的相依性 补充说明 depmod命令 可产生模块依赖的映射文件,在构建嵌入式系统时,需要由这个命令来生成相应的…

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