pull/32180/merge
Roy Reznik 2 days ago committed by GitHub
commit 28cf8d3c5a
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
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")
if err != nil {
return linter, fmt.Errorf("unable to create temp dir to extract tarball: %w", err)

Loading…
Cancel
Save