メインコンテンツまでスキップ
バージョン: 3.19.0

helm repo index

chart リポジトリのインデックスファイルを生成します

概要

カレントディレクトリを読み取り、見つかった chart に基づいてインデックスファイルを生成し、結果を同ディレクトリの index.yaml に書き込みます。

このコマンドは chart リポジトリ用の index.yaml ファイルを作成します。chart の参照先となる絶対 URL を設定するには --url フラグを使用します。

生成したインデックスを既存のインデックスファイルにマージするには --merge フラグを使用します。この場合、カレントディレクトリで見つかった chart が --merge で指定したインデックスにマージされます。同じ chart が存在する場合はローカルの chart が優先されます。

helm repo index [DIR] [flags]

オプション

  -h, --help           help for index
--json JSON 形式で出力します
--merge string 生成したインデックスを指定したインデックスファイルにマージします
--url string chart リポジトリの URL

親コマンドから継承されたオプション

      --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
--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")

関連項目

  • helm repo - chart リポジトリの追加、一覧表示、削除、更新、インデックス作成を行います
Auto generated by spf13/cobra on 14-Jan-2026