helm repo index
helm repo index (저장소 인덱스 파일 생성)
패키징된 차트가 있는 디렉터리를 읽고 인덱스 파일(index.yaml)을 생성하는 명령입니다.
출처: 문서
본문
현재 디렉터리를 읽고, 발견된 차트를 기반으로 인덱스 파일을 생성한 뒤 결과를 현재 디렉터리의 index.yaml에 씁니다.
이 도구는 차트 저장소용 index.yaml 파일을 만드는 데 사용됩니다. 차트에 대한 절대 URL을 설정하려면 --url 플래그를 사용하세요.
생성된 인덱스를 기존 인덱스 파일과 병합하려면 --merge 플래그를 사용하세요. 이 경우 현재 디렉터리에서 발견된 차트가 --merge로 전달된 인덱스에 병합되며, 로컬 차트가 기존 차트보다 우선합니다.
helm repo index [DIR] [flags]
옵션 (Options)
-h, --help help for index
--json output in JSON format
--merge string merge the generated index into the given index
--url string url of chart repository
부모 명령에서 상속된 옵션 (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 repo - 차트 저장소를 추가·제거·나열·갱신·인덱싱합니다.