Unverified Commit 2ca025d4 authored by Martin Hickey's avatar Martin Hickey Committed by GitHub

Merge pull request #5759 from ialidzhikov/issue-5758

Change extension rule to warning severity
parents 5133af0a 0880703a
......@@ -99,7 +99,7 @@ func Templates(linter *support.Linter, values []byte, namespace string, strict b
fileName, _ := template.Name, template.Data
path = fileName
linter.RunLinterRule(support.ErrorSev, path, validateAllowedExtension(fileName))
linter.RunLinterRule(support.WarningSev, path, validateAllowedExtension(fileName))
// We only apply the following lint rules to yaml files
if filepath.Ext(fileName) != ".yaml" || filepath.Ext(fileName) == ".yml" {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment