|
|
|
@ -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
|
|
|
|
|