pull/32180/merge
Roy Reznik 3 days ago committed by GitHub
commit 1e8b9fd446
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -91,7 +91,7 @@ func lintChart(path string, vals map[string]any, namespace string, kubeVersion *
var chartPath string var chartPath string
linter := support.Linter{} linter := support.Linter{}
if strings.HasSuffix(path, ".tgz") || strings.HasSuffix(path, ".tar.gz") { if strings.HasSuffix(path, ".tgz") || strings.HasSuffix(path, ".tar.gz") || strings.HasSuffix(path, ".chart") {
tempDir, err := os.MkdirTemp("", "helm-lint") tempDir, err := os.MkdirTemp("", "helm-lint")
if err != nil { if err != nil {
return linter, fmt.Errorf("unable to create temp dir to extract tarball: %w", err) return linter, fmt.Errorf("unable to create temp dir to extract tarball: %w", err)

Loading…
Cancel
Save