Commit 0880703a authored by ialidzhikov's avatar ialidzhikov

Change extension rule to warning severity

Signed-off-by: 's avatarialidzhikov <i.alidjikov@gmail.com>
parent 9fb19967
...@@ -99,7 +99,7 @@ func Templates(linter *support.Linter, values []byte, namespace string, strict b ...@@ -99,7 +99,7 @@ func Templates(linter *support.Linter, values []byte, namespace string, strict b
fileName, _ := template.Name, template.Data fileName, _ := template.Name, template.Data
path = fileName 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 // We only apply the following lint rules to yaml files
if filepath.Ext(fileName) != ".yaml" || filepath.Ext(fileName) == ".yml" { 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