helm package

helm package (차트를 차트 아카이브로 패키징)

차트 디렉터리를 버전이 붙은 차트 아카이브 파일로 패키징하는 명령입니다. PGP 서명 및 의존성 갱신을 지원합니다.

출처: 문서

본문

이 명령은 차트를 버전이 붙은 차트 아카이브 파일로 패키징합니다. 경로가 주어지면 그 경로에서 차트(반드시 Chart.yaml 파일을 포함해야 함)를 찾아 해당 디렉터리를 패키징합니다.

버전이 붙은 차트 아카이브는 Helm 패키지 저장소에서 사용됩니다.

차트에 서명하려면 --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]

옵션 (Options)

      --app-version string         set the appVersion on the chart to this version
      --ca-file string             verify certificates of HTTPS-enabled servers using this CA bundle
      --cert-file string           identify HTTPS client using this SSL certificate file
  -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
      --insecure-skip-tls-verify   skip tls certificate checks for the chart download
      --key string                 name of the key to use when signing. Used if --sign is true
      --key-file string            identify HTTPS client using this SSL key file
      --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.
      --password string            chart repository password where to locate the requested chart
      --plain-http                 use insecure HTTP connections for the chart download
      --sign                       use a PGP private key to sign this package
      --username string            chart repository username where to locate the requested chart
      --version string             set the version on the chart to this semver version

부모 명령에서 상속된 옵션 (Options inherited from parent commands)

      --burst-limit int                 client-side default throttling limit (default 100)
      --color string                    use colored output (never, auto, always) (default "auto")
      --colour string                   use colored output (never, auto, always) (default "auto")
      --content-cache string            path to the directory containing cached content (e.g. charts) (default "~/.cache/helm/content")
      --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 directory 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")

더 알아보기 (Learn more)

  • helm - 쿠버네티스를 위한 Helm 패키지 매니저입니다.