pull/11629/head
Brian Dols 3 years ago
parent 5941f8a9c0
commit 5ed4330b54

@ -105,9 +105,9 @@ func Templates(linter *support.Linter, values map[string]interface{}, namespace
for _, template := range chart.Templates {
fileName, data := template.Name, template.Data
fpath = fileName
if chart.Metadata.Type == "library" {
linter.RunLinterRule(support.WarningSev, fpath, validateLibraryTemplate(fileName))
}
if chart.Metadata.Type == "library" {
linter.RunLinterRule(support.WarningSev, fpath, validateLibraryTemplate(fileName))
}
linter.RunLinterRule(support.ErrorSev, fpath, validateAllowedExtension(fileName))
// These are v3 specific checks to make sure and warn people if their

Loading…
Cancel
Save