From 0880703a40e4464a31c1da61a2f14b770e97d17c Mon Sep 17 00:00:00 2001 From: ialidzhikov Date: Sun, 19 May 2019 00:07:54 +0300 Subject: [PATCH] Change extension rule to warning severity Signed-off-by: ialidzhikov --- pkg/lint/rules/template.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/lint/rules/template.go b/pkg/lint/rules/template.go index 192150737..69b9c397f 100644 --- a/pkg/lint/rules/template.go +++ b/pkg/lint/rules/template.go @@ -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" {