Commit 789e411d authored by Matt Butcher's avatar Matt Butcher Committed by GitHub

Merge pull request #1370 from prydonius/1369-fix-yaml-validation

fix(lint): use correct hash key for rendered tmpl
parents 70a9e4aa d81ac482
......@@ -94,7 +94,7 @@ func Templates(linter *support.Linter) {
// NOTE, disabled for now, Refs https://github.com/kubernetes/helm/issues/1037
// linter.RunLinterRule(support.WarningSev, path, validateQuotes(string(preExecutedTemplate)))
renderedContent := renderedContentMap[fileName]
renderedContent := renderedContentMap[filepath.Join(chart.GetMetadata().Name, fileName)]
var yamlStruct K8sYamlStruct
// Even though K8sYamlStruct only defines Metadata namespace, an error in any other
// key will be raised as well
......
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