helm lint
helm lint (차트의 잠재적 문제 검사)
helm lint 명령은 차트에서 잘못되었거나 문제가 될 수 있는 부분이 있는지 검사합니다.
출처: 문서
본문
Synopsis
이 명령은 차트의 경로를 받아 차트가 올바르게 작성되었는지 검증하는 일련의 테스트를 실행합니다.
린터(linter)가 차트 설치를 실패하게 만드는 요인을 발견하면 [ERROR] 메시지를 출력합니다. 관례나 권장사항을 어기는 문제를 발견하면 [WARNING] 메시지를 출력합니다.
helm lint PATH [flags]
옵션 (Options)
-h, --help help for lint
--kube-version string Kubernetes version used for capabilities and deprecation checks
--quiet print only warnings and errors
--set stringArray set values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)
--set-file stringArray set values from respective files specified via the command line (can specify multiple or separate values with commas: key1=path1,key2=path2)
--set-json stringArray set JSON values on the command line (can specify multiple or separate values with commas: key1=jsonval1,key2=jsonval2 or using json format: {"key1": jsonval1, "key2": "jsonval2"})
--set-literal stringArray set a literal STRING value on the command line
--set-string stringArray set STRING values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)
--skip-schema-validation if set, disables JSON schema validation
--strict fail on lint warnings
-f, --values strings specify values in a YAML file or a URL (can specify multiple)
--with-subcharts lint dependent charts
상위 명령에서 상속된 옵션 (Options inherited from parent commands)
--burst-limit int 클라이언트 측 기본 스로틀링 한도 (기본값 100)
--color string 색상 출력 사용 (never, auto, always) (기본값 "auto")
--colour string 색상 출력 사용 (never, auto, always) (기본값 "auto")
--content-cache string 캐시된 콘텐츠(예: 차트)가 담긴 디렉터리 경로 (기본값 "~/.cache/helm/content")
--debug 상세 출력 활성화
--kube-apiserver string Kubernetes API 서버의 주소와 포트
--kube-as-group stringArray 작업에 가장(impersonate)할 그룹. 이 플래그를 반복해서 여러 그룹을 지정할 수 있음
--kube-as-user string 작업에 가장(impersonate)할 사용자 이름
--kube-ca-file string Kubernetes API 서버 연결에 사용할 인증기관(certificate authority) 파일
--kube-context string 사용할 kubeconfig 컨텍스트 이름
--kube-insecure-skip-tls-verify true로 설정하면 Kubernetes API 서버 인증서의 유효성을 검사하지 않음. HTTPS 연결이 안전하지 않게 됨
--kube-tls-server-name string Kubernetes API 서버 인증서 검증에 사용할 서버 이름. 제공하지 않으면 서버 접속에 사용된 호스트명을 사용
--kube-token string 인증에 사용되는 bearer 토큰
--kubeconfig string kubeconfig 파일 경로
-n, --namespace string 이 요청의 네임스페이스 범위
--qps float32 bursting을 제외하고 Kubernetes API와 통신할 때 사용하는 초당 쿼리 수
--registry-config string 레지스트리 설정 파일 경로 (기본값 "~/.config/helm/registry/config.json")
--repository-cache string 캐시된 저장소 인덱스가 담긴 디렉터리 경로 (기본값 "~/.cache/helm/repository")
--repository-config string 저장소 이름과 URL이 담긴 파일 경로 (기본값 "~/.config/helm/repositories.yaml")
더 알아보기 (Learn more)
- helm — Kubernetes용 Helm 패키지 매니저