From 180b796d5dad0b1092da794e8801596abf09b6c9 Mon Sep 17 00:00:00 2001 From: Roy Reznik Date: Thu, 4 Jun 2026 11:40:03 +0100 Subject: [PATCH] Support cached .chart files for linting --- pkg/action/lint.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/action/lint.go b/pkg/action/lint.go index 6156fe5c8..0998f42b8 100644 --- a/pkg/action/lint.go +++ b/pkg/action/lint.go @@ -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)